This project is read-only.

Layer Order Problem

Oct 26, 2011 at 4:25 PM

I am using Dotspatial API load CADRG maps and to draw point and lines. I have a problem with this. When I first draw a point layer and later create a MapImageLayer, the point layer goes behind the MapImageLayer and I can't see it. Is there an attribute in Dotspatial API to define the drawing order of layers or something like that ?

Oct 28, 2011 at 2:17 AM

Instead of Map.AddLayer, you can use the Layers.Insert method to add the MapImageLayer below the point and line layer.

I like your suggestion. I would also find it useful If I could define preferred layer order in the map or legend (points should be top-most, then polygons, then images and rasters)