Esri / esri-leaflet-geocoder

helpers for using the ArcGIS World Geocoding Service in Leaflet
http://esri.github.io/esri-leaflet/examples/geocoding-control.html
Apache License 2.0
244 stars 101 forks source link

273-remove-suggest-pad #274

Closed jwasilgeo closed 3 years ago

jwasilgeo commented 3 years ago

Alleviates different "/suggest" vs. "/findAddressCandidates" behavior when a searchBounds option is used, by removing the automatically applied bounds.pad(0.5) in the suggest within method.

Related to #273.

Try to search for "park bench cafe" as described in #273 in the JSBin example, and then try again in a local checkout of this PR with the code sample provided below.

local demo sample ```html Geocoding control
```