Skip to content

Conversation

@TomGoBravo
Copy link
Contributor

@TomGoBravo TomGoBravo commented Feb 2, 2022

This PR removes code using Google Maps API and adds leaflet-control-geocoder. By default it uses the OSM Nominatim service which seems to work without an API key. Enable search control by default in example config.

Tested

Setup postgis and ran the demo app following examples/geo_alchemy/README.rst then created an object in the polygon table. With this change http://127.0.0.1:5000/admin/polygon/edit/?id=1&url=%2Fadmin%2Fpolygon%2F there is now a little search icon in the top right that can find place names.

@TomGoBravo
Copy link
Contributor Author

@mrjoes Please take a look. Thank you.

@samuelhwilliams
Copy link
Contributor

Hey 👋 this feels like a good change to default behaviour - would you be willing to update this PR? 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants