Extends L.esri.service
A basic wrapper for speaking to ArcGIS Online and ArcGIS Server geocoding services. Used internally by L.esri.. You can find more information and the source code for this plugin here.
Constructor
| Constructor | Description |
|---|---|
L.esri. | 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 Geocoding service. |
Options
Accepts all options you can pass to L.esri.service. Url will refer to the ArcGIS geocoding service by default but a custom geocoding service can also be used.
Events
Fires all L.esri.service events.
Methods
| Method | Returns | Description |
|---|---|---|
geocode() | L.esri. | Returns a new Geocode task bound to this server. |
suggest() | L.esri. | Returns a new Suggest task bound to this server. |
reverse() | L.esri. | Returns a new Reverse task bound to this server. |