Skip to content

Releases: Esri/esri-leaflet-geocoder

v3.1.4

23 Feb 19:31
Compare
Choose a tag to compare

Fixed

Updated

  • Updated dependencies (#308)

v3.1.3

08 Apr 15:11
Compare
Choose a tag to compare

Fixed

  • Properly pass through token and apikey when calling L.esri.Geocoding.reverseGeocode() (#295)

v3.1.2

01 Mar 14:42
Compare
Choose a tag to compare

Updated

  • Updated dependencies (#292)
  • Updated to rollup-plugin-terser (#292)
  • Switched to chokidar (#292)
  • Updated to Semistandard 14 (#292)
  • Include siteData.json in NPM release (#292)

v3.1.1

29 Jul 16:32
Compare
Choose a tag to compare

Fixed

  • Properly pass through token and apikey when calling L.esri.Geocoding.geocode() (#278)

v3.1.0

20 Jul 19:59
Compare
Choose a tag to compare

Fixed

  • Results for the suggest and findAddressCandidates operations should now be more consistent with each other when using a searchBounds option. We removed an automatically applied bounds padding that was only present in the suggest's within method. #274

Changed

  • Dependency version of esri-leaflet now set to ^3 (#272)

v3.0.0

25 Jan 22:29
Compare
Choose a tag to compare

Added

  • MapServiceProvider - new property apikey
  • FeatureLayerProvider - new property apikey
  • ArcgisOnlineProvider - new property apikey
  • L.esri.Geocoding.geocodeService - new property apikey

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

29 Dec 22:03
Compare
Choose a tag to compare

Added

  • Support "nearby" parameter (#262)

Fixed

  • Suggestions for the provider L.esri.Geocoding.mapServiceProvider with more than 1 magic key are now geocoded correctly when selected and will show all available results on the map. #250

v2.3.3

29 May 19:59
Compare
Choose a tag to compare

Added

  • Support "searchMode" (#215 🙏pmacMaps🙏)

v2.3.2

12 Nov 18:53
Compare
Choose a tag to compare

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

v2.3.1

11 Oct 19:04
Compare
Choose a tag to compare

Fixed

  • Ensure control initialization will be successful when there are no optional providers passed in. #225