L.esri.Services.ImageService

Inherits from L.esri.Service

L.esri.Services.ImageService is an abstraction 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
new L.esri.Services.ImageService(<String> url, <Object> options)

L.esri.Services.imageService(<String> url, <Object> options)
The url parameter is the URL to the ArcGIS Server or ArcGIS Online map 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