I am unable to retrieve feature column values
A assign them like this
markerLayer.Open()
Dim item As New FeatureSourceColumn("rap")
markerLayer.Columns.Add(item)
Dim value As Double
Dim LocID As String
Do While dtrMark.Read()
value = CDbl(dtrMark("Result"))
LocID = dtrMark("LocID").ToString()
Dim feature As New Feature(CDbl(dtrMark("Longitude")), CDbl(dtrMark("Latitude")), value)
feature.ColumnValues.Add("LocId", LocID)
feature.ColumnValues.Add("rap", value)
feature.Tag = LocID
markerLayer.InternalFeatures.Add(feature)
Loop
Then I try to retrieve them but they are empty
MarkerLayer.Open()
MarkerFeatures = MarkerLayer.QueryTools.GetFeaturesIntersecting(clickArea, New String(1) {"Crap", "LocID"})
For Each feature As Feature In MarkerFeatures
message.AppendFormat(GetResultsTable(feature.Id))
Next
The Feature above shows the column keys but empty values in debug mode.
What amI doing wrong?
Thanks