I add multiple markers, A, B, C...... in that order and they are in close approximation to each other on the map. The popup for A will show up behind the icon of B and so forth. The question, how can I ensure that the popup stays in front of all marker icons on the map?
Markers & Layers issue
I have a :
foreach (UnitT unit in nodes){
nodeContextMenuOverlay.Markers.Add(i.ToString(), newMarker);
i++;
}
and later on in the MouseEnter for the marker event I want to do something like this:
void marker1_MouseEnter(object sender, MouseEventArgs e)
{
markerOverlay.Markers.MoveToTop(this.marker.has.a.key.I.can.find.or.something.like.that());
Map1.Refresh();
}
but I can’t find a way to hunt for the key that I used in the Markers.Add() method. I could use anything as a key, I just have no way of finding it in mouse event (or click event, whatever).
Nevermind. I figured it out.
Hello Mark,
Sorry we didn’t make the help in time, feel free to let us know your problem.
Regards,
Gary