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.