CxSci / atlas-of-opportunity

MIT License
7 stars 3 forks source link

Implement search functionality #13

Closed justinanderson closed 3 years ago

justinanderson commented 4 years ago

Moved from Jira. Combines two issues. 1 2

Add a navigation bar above the map. Add a search box.

Search by sa2 region name. If business data is available, search by business name and address. ~See if it is useful to connect to Google Maps API for this.~ Not possible for reasons given below.

justinanderson commented 4 years ago

We can't display any data from the Google Maps APIs unless we switch from Mapbox to Google's JS map, see Google policies re the Places API.

Since we're using Mapbox already, we might as well do the same thing as inequality.media.mit.edu and use the Mapbox Geocoding API. We could merge its address/business name lookups with our own list of SA2s into one autocompleting search field.

justinanderson commented 3 years ago

Resolved by #38.