perliedman / leaflet-control-geocoder

A simple geocoder form to locate places. Easily extended to multiple data providers.
http://www.liedman.net/leaflet-control-geocoder/
BSD 2-Clause "Simplified" License
560 stars 220 forks source link

IGeocoder.reverse() returns bbox in field called bounds #282

Closed norama closed 3 years ago

norama commented 4 years ago

I use IGeocoder.reverse geocoding upon double click and thengeocoderControl.markGeocode to mark the manually selected location. There is a little inconsistency in the location format: reverse geocoding returns bounds in bounds field while markGeocode expects it in bbox field, so I have to manually set this bbox field. It would be better to have the same format. I use the Nominatim geocoder.