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

New Post: Selected Layer Index

$
0
0
Hello, dear all:
I want to find the index of selected layer to use it with the rest code. the example below shows what I want:
I want to find the value of i
    Dim fs As New FeatureSet
    Dim rrr As String
    fs = Map1.Layers.Item(0).DataSet
    rrr = "[STATE] = 'Johor'"
    Map1.GetFeatureLayers(0).SelectByAttribute(rrr)


    'fs.DataTable.Rows(i).Item("Temperature") = "OK"
    'fs.Save()

Viewing all articles
Browse latest Browse all 3973

Trending Articles



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