Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I am considering replacement of Google Maps with Open Street Maps and the Leaflet JS API. Does the Leaflet JS API provide a Geocoding service?

share|improve this question

3 Answers 3

up vote 9 down vote accepted

Leaflet itself does not provide geocoding services, but you can look at Nominatim for example. http://wiki.openstreetmap.org/wiki/Nominatim

share|improve this answer

I found a Leaflet plugin that works great. It's a Bing geocoder which you'll need your own key for https://github.com/sa3m/leaflet-control-bing-geocoder

share|improve this answer

I have fallen in love with the Mapbox Geocoding API -- they do a great job of aggregating a lot of data sources that would be a pain for me to aggregate on my own. I found it to do a better job of reverse-geocoding than Nominatim. If I ever needed to build out my own geocoder, Nominatim would be a great place to start, but for most projects it feels to me like overkill.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.