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.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close