dojo.require("esri.layers.LayerMapSource")
Description
(Added at v2.7)
The LayerMapSource class defines and provides information about an existing map service layer.
Requires ArcGIS Server 10.1 or greater.
Samples
Search for
samples that use this class.
Class hierarchy
esri/layers.LayerSource
|_esri/layers.LayerMapSource
Constructors
Properties
gdbVersion | String | When supported, specify the version in an SDE workspace that the layer will use. |
mapLayerId | Number | The layer id for a sub-layer in the current map service. |
type | String | Used to describe the origin of the LayerSource. |
Methods
toJson() | Object | Converts object to its ArcGIS Server JSON representation. |
Constructor Details
Creates a new LayerMapSource object.
Parameters:
<Object > json |
Optional |
JSON object representing the LayerMapSource. |
Property Details
When supported, specify the version in an SDE workspace that the layer will use.
The layer id for a sub-layer in the current map service.
Used to describe the origin of the LayerSource.
Method Details
Converts object to its ArcGIS Server JSON representation.