L.esri.ImageService

Extends L.esri.Service

L.esri.ImageService is an abstraction for interacting with Image Services running on ArcGIS Online and ArcGIS Server that allows you to make requests to the API, as well as query and identify features on the service.

Constructor

ConstructorDescription
L.esri.imageService(<Object>options)Options for configuring the ArcGIS Server or ArcGIS Online image service you would like to consume. Optionsincludes a url parameter which refers to the ArcGIS Server or ArcGIS Online service you would like to consume.

Options

L.esri.ImageService accepts all L.esri.Service options.

Events

L.esri.ImageService fires all L.esri.service events.

Methods

MethodReturnsDescription
query()this

Returns a new

L.esri.Query

object that can be used to query this service.

imageService.query()
.within(latlngbounds)
.run(function(error, featureCollection, response){
    console.log(featureCollection);
});

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