AnsweredAssumed Answered

Layer ordering

Question asked by peder.husom@powel.no on Mar 26, 2015
Latest reply on Mar 26, 2015 by MBranscomb-esristaff

Hi,

 

I have two layers. One ArcGISDynamicMapServiceLayer based on a .MPK+Oracle DB. One WmsLayer.

 

If I add them in this order;

DynamicMapServiceLayer

WmsLayer

 

Both layers get rendered, but the DynamicMapServiceLayer is behind the WmsLayer. So as soon as the WmsLayer has loaded, the DynmicMapServiceLayer is a bit faster, it gets drawn over the DynamicMapServiceLayer.

 

If I add them in the reverse order;

WmsLayer

DynamicMapServiceLayer

 

The DynamicMapServiceLayer is fine, but the WmsLayer is nowhere to be seen. Setting the DynamicMapServiceLayers image format to PNG or any other doesn't help either.

 

I've looked for a z-index or something simillar but can't seem to find anything relevant. Any tips, tricks or obvious things that I'm missing?

Outcomes