Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenStreetMap API instead of Bing #10

Open
dscso opened this issue Oct 20, 2016 · 1 comment
Open

OpenStreetMap API instead of Bing #10

dscso opened this issue Oct 20, 2016 · 1 comment

Comments

@dscso
Copy link

dscso commented Oct 20, 2016

I know this is called leaflet-control-bing-geocoder but anyway I want to say that there is also a OpenStreetMap API for that. https://nominatim.openstreetmap.org/search/<query>?format=json... With this you don't need an access token and it is based on the same data like map itself.
If you don't consider that as a good idea, it would be better if you change http to https...
https://github.com/sa3m/leaflet-control-bing-geocoder/blob/master/Control.BingGeocoder.js#L78

@perliedman
Copy link

@dscso see also https://github.com/perliedman/leaflet-control-geocoder, which is a fork of this plugin, but with support for a lot of geocoding services, Nominatim is one of them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants