Gets the layer information for a mapservice layer.
CommandVerb¶
"getlayer"
Parameters
Name | Type | Description |
---|
LayerId | int | The id of the layer that is being retrieved. |
MapServiceUrl | string | The url for the mapService that the layer is in. |
Code Sample
FDOT.Map.executeCommand("getlayer",
{
"LayerId":1,
"MapServiceUrl":"http://tlbstws3.dot.state.fl.us/ArcGIS/rest/services/GEV_DMS/MapServer/"
},function(result)
{
//Do Something
}
);
See Also