Welcome Guest, you are in: Login

FDOT Wiki

RSS RSS

GisFramework



Search the wiki
»
The ShowLayersCommand allows layers to be turned on through script.


CommandVerb

"al"

Parameters

The ShowLayersCommand takes a ShowLayersCommandParameters object.

NameTypeDescription
LayerIdsIEnumerableThis is the list of layers that will be turned on.

Code Sample


 FDOT.Map.executeCommand('al',
{
  "LayerIds":[
             {
               "MapServiceName":"gev-dynamic",
               "LayerName":"1" // the layer id (All Crashes in this instance)
}
]
});

See Also

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