This content has moved to developers.arcgis.com. Please update your bookmarks!
L.esri.Geocoding.GeocodeService
Extends L.esri.Service
A basic wrapper for speaking to ArcGIS Online and ArcGIS Server geocoding services. Used internally by L.esri.Geocoding.geosearch.
You can find more information and the source code for this plugin here.
Constructor
Constructor | Description |
---|---|
L.esri.Geocoding.geocodeService(<Object> |
Creates a new Geocoding service. You can pass in the url of a custom geocoding endpoint in the options if you do not want to use the ArcGIS Online World Geocoding service. |
Options
Accepts all options you can pass to L.esri.Service. Url
will refer to the ArcGIS World Geocoder by default but a custom geocoding service can also be used.
Events
Fires all L.esri.Service events.
Methods
Method | Returns | Description |
---|---|---|
geocode() |
|
Returns a new Geocode task bound to this server. |
suggest() |
|
Returns a new Suggest task bound to this server. |
reverse() |
|
Returns a new ReverseGeocode task bound to this server. |