L.esri.ImageService

Inherits from 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

Constructor Description
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

Method Returns Description
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);
            });

Example

No examples.

Edit this page on GitHub