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

ConstructorDescription
L.esri.Geocoding.geocodeService(<Object>options)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

MethodReturnsDescription
geocode()L.esri.Geocoding.geocodeReturns a new Geocode task bound to this server.
suggest()L.esri.Geocoding.suggestReturns a new Suggest task bound to this server.
reverse()L.esri.Geocoding.reverseGeocodeReturns a new ReverseGeocode task bound to this server.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.