Markers Always On Top

Topics: General
Jan 19, 2012 at 9:34 AM


When I add multiple routes and a route is overlapping a marker (layer) the marker is behind the layer, which is obvious. How Do I set it so every marker is "on top of" all other layers?

Jan 19, 2012 at 9:40 AM

add marker layer last, so it will be rendered last

Jan 20, 2012 at 9:59 AM

Hi Radioman!

A Z-order (int) property for the GMapOverlay would be cool (lowest value is furthest back) see



Jan 20, 2012 at 10:14 AM

..well ObservableCollection doesn't sorts well

Feb 3, 2012 at 8:25 PM

Hi Radioman. It seems I wasn't very clear with my question, or perhaps I don't understand your reply very well (which I doubt), but here's another try. I'm adding routes one by one (manually). Means that the "old" (already rendered) marker will be below the new route-layer. Any suggestions?

Feb 3, 2012 at 8:42 PM



render o1 then o2 then o3 then o4

  • so if your route layer is added later than marker layer, route will be rendered last therefore 'on top'
  • if you add markers and routes on the same layer, render order is: routes then polygons then markers then tooltips

so you can create any order you want by using separate overlays for different object types, etc...