I have an element layer with lots of points on a map. On the event of clicking one of these items, I am trying to add an popup item to this ElementLayer.
Everything is working except the draw order. The popup item I am adding at the end is always under the other items in that ElementLayer. It doesn't seem to matter if I add it as the first or last item...
thisElementLayer.Children.Insert(thisElementLayer.Children.Count - 1, maptipItem); //shows under other items in thisElementLayer //thisElementLayer.Children.Insert(0, maptipItem); //shows under other items in thisElementLayer