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
Properties
type | String | Used to describe the origin of the LayerSource. |
Constructor Details
Creates a new LayerSource object.
Parameters:
<object > json |
Optional |
Creates a new LayerSource object. |
Property Details
Used to describe the origin of the LayerSource.