Quantcast
Channel: DotSpatial
Viewing all articles
Browse latest Browse all 3973

New Post: Force a layer always be on top

$
0
0
  Here is the code i use to place a layer on the last spot

        Dim index As Integer
  index = Me.myMAP.Layers.Count
        If index = 0 Then
            Me.myMAP.Layers.Add(layer)
        Else
            Me.myMAP.Layers.Insert(0, layer)
        End If
I hope it helps you a bit :)

Viewing all articles
Browse latest Browse all 3973

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>