Closed cw00dw0rd closed 3 years ago
Geocoding plugin for leaflet.js to search for an address etc. and get a location back: https://github.com/smeijer/leaflet-geosearch
More options: https://leafletjs.com/plugins.html#geocoding
OSM's Nominatim service should work for our purposes and doesn't require an API key. Docs: https://nominatim.org/release-docs/develop/api/Search/
Example request: https://nominatim.openstreetmap.org/search?q=brandenburg%20gate JSON result: https://nominatim.openstreetmap.org/search.php?q=brandenburg%20gate&polygon_geojson=1&format=jsonv2
The current "Where to?" input needs to be functional. It is currently just a placeholder that does nothing.
This will have some dependence on the backend and potentially overlap with #4 .