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.

patrick
  • 2,730
  • 26
  • 50

1 Answers1

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.

Petr Krebs
  • 10,291
  • 1
  • 22
  • 33