L.esri.Services.ImageService

Inherits from L.esri.Service

L.esri.Services.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.Services.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.Services.ImageService accepts all L.esri.Services.Service options.

Events

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

Methods

Method Returns Description
query() this Returns a new L.esri.Tasks.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