Welcome Guest, you are in: Login

FDOT Wiki

RSS RSS

GisFramework



Search the wiki
»

GetLayerCommand

RSS
Modified on Monday, 03 June 2013 02:02 PM by 156.75.200.241 Categorized as Commands
Gets the layer information for a mapservice layer.


CommandVerb

"getlayer"

Parameters

NameTypeDescription
LayerIdintThe id of the layer that is being retrieved.
MapServiceUrlstringThe 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

Any Questions or Comments? Email
Some of the icons created by FamFamFam.