This project has moved. For the latest updates, please go here.

Changing Layer Order

Topics: General Topics
Jan 30, 2007 at 9:41 AM
Is there any way to change the layer display order in SharpMap without having to remove all the layers and then rebuilding them? Is there are MoveFront/MoveBack sort of command?


Jan 30, 2007 at 12:53 PM
You can try manipulating the Layers List like so:

// move a layer to the bottom
map.Layers.Insert(map.Layers.Count, layerX);