Move Layers Up and Down on Map (Drawing Order)

Jun 17, 2011 at 8:59 PM
Edited Jun 17, 2011 at 9:00 PM

How do i move layer's drawing order up and down on the map through the use of C# code? Preferably i would like to do this without the use of the Legend.  i have looked through the MapLayer, Map, and Legend functions and can't seem to see how to do it. I know MapWindow4 had this ability.

Essentially i want to ensure that all vector layers are always on top of all the raster layers on the map at all times.  I also need the functionality to move a group of layers or a single layer up and down or bring to front/send to back.  This would all have to be through C# code.

Jun 20, 2011 at 12:47 PM

This is a good start: