Esri Leaflet Geocoder Versions Save

helpers for using the ArcGIS World Geocoding Service in Leaflet

v3.1.4

1 year ago

Fixed

Updated

  • Updated dependencies (#308)

v3.1.3

2 years ago

Fixed

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

v3.1.2

2 years ago

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

2 years ago

Fixed

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

v3.1.0

2 years ago

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

3 years ago

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

3 years ago

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

4 years ago

Added

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

v2.3.2

4 years ago

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

4 years ago

Fixed

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