Select to view content in your preferred language

DynamicLayerInfo layerorder

491
2
Jump to solution
06-23-2013 10:15 AM
PremRadhakrishnan
Regular Contributor
How to I set the layerorder for a dynamiclayerinfo ? It would be ideal if I can get my workspace layers to be positioned where I want them rather than under all the layers in a dynamic service

Is this possible ? I have tried setting DynamicLayerInfo::layerId to 0 and -1 but neither seems to work. Am I trying to do the impossible?

Cheers
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
DasaPaddock
Esri Regular Contributor
The drawing order is based on the order of the items in the dynamicLayerInfos array.

See:
http://resources.arcgis.com/en/help/flex-api/apiref/com/esri/ags/layers/ArcGISDynamicMapServiceLayer...

View solution in original post

0 Kudos
2 Replies
DasaPaddock
Esri Regular Contributor
The drawing order is based on the order of the items in the dynamicLayerInfos array.

See:
http://resources.arcgis.com/en/help/flex-api/apiref/com/esri/ags/layers/ArcGISDynamicMapServiceLayer...
0 Kudos
PremRadhakrishnan
Regular Contributor
That did it , thanks Dasa, for some reason I thought it was the order of the layer ids.
0 Kudos