Skip to content

Releases: Esri/esri-leaflet-geocoder

v2.2.2

18 Dec 16:03
Compare
Choose a tag to compare

Fixed

  • Now all user supplied geosearch constructor options are applied correctly when the default provider is used.

v2.2.1

22 Nov 17:54
Compare
Choose a tag to compare

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 hitting enter after a previous search result was selected from the list.

v2.2.0

06 Nov 23:39
Compare
Choose a tag to compare

Added

  • It is now possible to declare the desired sort order for geosearch results from a featureLayerProvider. the new method operates identically to L.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

21 Sep 17:28
Compare
Choose a tag to compare

Fixed

  • the loading icon is now cleared when a search returns no results #142
  • sub queries are now concatenated correctly when a filter is applied to the FeatureLayer being searched. #144

v2.1.3

16 Sep 00:15
Compare
Choose a tag to compare

Fixed

  • botched the last npm release

v2.1.2

15 Sep 22:43
Compare
Choose a tag to compare

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

  • We now expose a where constructor parameter for featureLayerProvider so that developers can filter features which will be matched to user searches. #136
  • The geosearch control now utilizes the arcgisOnlineProvider by default if no provider is specified in the object constructor. #137

v2.1.1

25 Jul 22:14
Compare
Choose a tag to compare

Fixed

  • ensure that setting maxResults limits the number of suggestions provided by L.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

30 Apr 02:10
Compare
Choose a tag to compare

Added

  • new enable() and disable() methods to programmatically control geosearch. ./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

changed

  • refactored geosearch into a base class and inherited control to lay the groundwork for other UI components that live outside the map. pull/102
  • use https consistently when making requests to the World Geocoding services instead of inheriting protocol from the parent application. 388ba04

v2.0.3

28 Jan 03:04
Compare
Choose a tag to compare

Added

  • new searchBounds parameter for L.esri.Geocoding.geosearch for filtering using a static bounding box. (#115 thanks to @nathanhilbert!)

v2.0.2

03 Dec 22:47
Compare
Choose a tag to compare

Added

  • exposed a parameter in reverseGeocode requests to fetch intersections.

Fixed

  • appropriate l18n input parameter is now passed in reverseGeocode requests
  • made sure appropriate provider attribution is added to the map