esri-leaflet-geocoder
Advanced tools
Changelog
[1.0.0]
This represents the stable release of Esri Leaflet Geocoder compatible with Leaflet 0.7.3. All future 1.0.X releases will be compatible with Leaflet 0.7.3 and contain only bug fixes. New features will only be added in Esri Leaflet Geocoder 2.0.0 which will require Leaflet 1.0.0.
1.0.0
. #75initialize
#63 (thanks @timwis!)useMapBounds
is set to true. #58url
with the url
key inside of options
as opposed to a separate parameter.L.esri.Geocoding
. So L.esri.Tasks.Geocode
is now L.esri.Geocoding.Tasks.Geocode
.MapService
provider now supports being passed an array of layers to search. https://github.com/Esri/esri-leaflet-geocoder/issues/48title
option will now set the title on the input to 'Location Search'
by default. https://github.com/Esri/esri-leaflet-geocoder/pull/51within()
and nearby()
now return the task and can be changed. https://github.com/Esri/esri-leaflet-geocoder/pull/49MapService
provider https://github.com/Esri/esri-leaflet-geocoder/issues/46bower install esri-leaflet-geocoder
Please read through the docs and changes list carefully. There has been a major refactoring.
** Breaking Changes **
L.esri.Geocoding
. L.esri.Geocoding
organizes everything into Controls
, Services
, and Tasks
.GeocodeService
has been rewritten from scratch to mirror the Esri Leaflet service style that returns tasks.GeocodeService.suggest
, GeocodeService.geocode
and GeocodeService.reverse
all return their respective tasks.** Changes **
Suggest
, Geocode
and ReverseGeocode
that mirror the Esri Leaflet task structure.L.esri.Geocoding.Controls.Geosearch
can now search multiple providers.Changes
allowMultipleResults
to false
.useMapBounds
which was incorrect.bbox
with suggest. The suggest API doesn't use it.useMapBounds
default to 12
.Breaking Changes
L.esri.Services.Geocoding
. The raw response is now the 3rd parameter and the second parameter is now a processed array of Geocode Results or aReverse Geocode Results depending on the call.L.esri.Services.Geocoding
no longer accepts the outFields
parameter.Changes
L.esri.Services.Geocoder
extends on L.esri.Services.Service
you can pass the forStorage
flag with any call and authenticate. Listen for the authenticationrequired
event and provide a token or pass a token
option.topright
positionThis is now ready for beta! This release helps finalize the API and includes lots of cross browser support.
Breaking Changes
result
and results
events have been refactored into a single results
event with and array of results.Changes
error
event addedallowMultipleResults
option. https://github.com/Esri/esri-leaflet-geocoder/issues/6