Hide Table of Contents
esri/dijit/util
esri/layer/pixelFilters
esri/process
esri/support
esri/workers
Class: LayerSource

require(["esri/layers/LayerSource"], function(LayerSource) { /* code goes here */ });

Description

(Added at v2.7)
Used to denote classes that may be used as a layer's source.

See also

Samples

Search for samples that use this class.

Subclasses

Constructors

NameSummary
new LayerSource(json?)Creates a new LayerSource object.

Properties

NameTypeSummary
typeStringUsed to describe the origin of the LayerSource.
Constructor Details

new LayerSource(json?)

Creates a new LayerSource object.
Parameters:
<object> json Optional Creates a new LayerSource object.
Property Details

<String> type

Used to describe the origin of the LayerSource.
Show Modal