Right now, the app only offers locations it obtained from the server via the /locations endpoint. That was OK when the server was vending locations from all incidents, but now it's just vending a pre-defined list of locations.
So the app should looks for locations in incidents, so that locations not in the predefined list are found. Alternatively, the server should combine the two sets, but that transmits redundant data if you are already fetching all of the events, as this client does.
Right now, the app only offers locations it obtained from the server via the
/locations
endpoint. That was OK when the server was vending locations from all incidents, but now it's just vending a pre-defined list of locations.So the app should looks for locations in incidents, so that locations not in the predefined list are found. Alternatively, the server should combine the two sets, but that transmits redundant data if you are already fetching all of the events, as this client does.