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?
Solved! Go to Solution.
Hi,
It's possible the WMS Layer does not support the spatial reference of the dynamic map service layer. Try setting the Map.SpatialReference explicitly.
Cheers
Mike
Hi,
It's possible the WMS Layer does not support the spatial reference of the dynamic map service layer. Try setting the Map.SpatialReference explicitly.
Cheers
Mike