3

My custom dynamic layer (moving vehicles) is at position 0, specified by this code:

mapControl.Map.MoveLayer(customDynamicLayer, 0); //smaller numbers draw later

But the annotations of the layer at position 1 (my map) still draw over my dynamic layer. Is this normal? Is there a workaround? I'm guessing there isn't a workaround because the non-dynamic layers get tiled, but I thought I'd ask anyway.

1 Answer 1

3

The drawing order within a layer is fixed, annotations always draw above geography.

There is a good description of drawing order and drawing phases in the ESRI documentation.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.