HI,
I have a dynamic layer which has point data and a graphics layer which displays polygon graphics. Since the graphic layer lies on top of the dynamic layers I unable to see my point features clearly inspite of setting the opacity of the graphic to 0.3. So i there any way of having the point dynamic layer reorder ontop of the graphicslayer? I am using the ArcGIS API for javascript.
Regards,
Nigel.
Hi Jake,
The example you sent me uses feature layer, and since the featurelayers and graphics layers are in the same array in the map object they can be managed. But in your example if i use a "dynamic map service layer" then the layer does not display on top.
Regards,
Nigel.
HI Jai,
I tried using reorderLayer method. But when watch the map object expression while dubugging. The dynamic layers are shown in map.LayerIDs and graphic layers in map.graphicLayerIds. so this is a bit confusing as to which index should I move the graphic layer such that I gets positioned between two daymic layers.
Regards,
Nigel.
Nigel,
In 3.x of the API graphics (GraphicsLayer) and thus FeatureLayer which inherits from GL will always been on top. This is planed to be changed in the 4.x API.