Releases: Esri/esri-leaflet-geocoder
Releases · Esri/esri-leaflet-geocoder
v3.1.4
v3.1.3
v3.1.2
v3.1.1
v3.1.0
Fixed
- Results for the
suggest
andfindAddressCandidates
operations should now be more consistent with each other when using asearchBounds
option. We removed an automatically applied bounds padding that was only present in thesuggest
'swithin
method. #274
Changed
- Dependency version of
esri-leaflet
now set to^3
(#272)
v3.0.0
Added
MapServiceProvider
- new propertyapikey
FeatureLayerProvider
- new propertyapikey
ArcgisOnlineProvider
- new propertyapikey
L.esri.Geocoding.geocodeService
- new propertyapikey
Changed
- Default WorldGeocodingServiceUrl changed to new endpoint that requires an API key. (
https://geocode-api.arcgis.com/arcgis/rest/services/World/GeocodeServer/
)
Notes
Previously, the default useage example was:
var searchControl = L.esri.Geocoding.geosearch().addTo(map);
Now that the default geocoding URL requires an API key (an API key can be obtained at https://developers.arcgis.com), that key must be provided if using the ArcGIS Online World Geocoding Service. Thus the new default usage example is:
var searchControl = L.esri.Geocoding.geosearch({
providers: [
L.esri.Geocoding.arcgisOnlineProvider({
// API Key to be passed to the ArcGIS Online Geocoding Service
apikey: 'YOUR_API_KEY'
})
]
}).addTo(map);
Other providers may be used with or without an api key.
v2.3.4
v2.3.3
v2.3.2
Fixed
- Suggestions are now visible above the control's input element when the optional
position
property is'bottomleft'
or'bottomright'
. #228 - Ensure that geocoding is not attempted when user interacts with invalid suggestion child elements, such as when clicking on a provider header or the suggestions parent container element. #228
- Reset
this._lastValue
when clearing and collapsing the control after a result to make it easier to search again for the same input text value. #228