Releases: Esri/esri-leaflet-geocoder
Releases · Esri/esri-leaflet-geocoder
v2.2.2
v2.2.1
Fixed
- Duplicate
featureLayerProvider
suggestions with identical display text are no longer displayed. When more than one feature with identical suggestion text is returned, all are now available in the callback. - Correct results are now returned when a
featureLayerProvider
search is instantiated by hittingenter
after a previous search result was selected from the list.
v2.2.0
Added
- It is now possible to declare the desired sort order for geosearch results from a
featureLayerProvider
. the new method operates identically toL.esri.query.orderBy()
var flProvider = L.esri.Geocoding.featureLayerProvider({
label: 'States',
url: 'http://sampleserver6.arcgisonline.com/arcgis/rest/services/Census/MapServer/3',
searchFields: ['STATE_NAME']
})
// fieldname + ascending/descending flag
flProvider.orderBy('POP2007', 'ASC')
Fixed
mapServiceProvider
text search is now slightly fuzzier. #149 thx @nickpeihl!npm start
now launches a web server and recompiles the built source when a change is detected on Windows boxes as well. #156 thx @gavinr!- Placeholder text is now display immediately when the geosearch control is configured to be expanded on page load. #157
v2.1.4
v2.1.3
v2.1.2
Fixed
- 'Powered by Esri' is now displayed in map attribution when the ArcGIS Online World Geocoding service is used in geosearch instead of 'Geocoding by Esri' #134
Added
v2.1.1
Fixed
- ensure that setting
maxResults
limits the number of suggestions provided byL.esri.Geocoding.geosearch
, not just final results #124 - trap situation in which geocoding service returns more than one candidate even though request includes a
magicKey
#129 - improved support for custom Esri geocoding services in
geosearch
#124
v2.1.0
Added
- new
enable()
anddisable()
methods to programmatically controlgeosearch
. ./pull/121
Fixed
- ensure that the map is zoomed to the bounding box of matches, not street level. ./pull/123
- made sure Esri's copyright text is included in the concatenated, minified build of the library. ae9dea4
- changed a string introspection to make grumpy old IE happy. pull/127