Please someone help me!. I'm trying to use ExecuteIntersectionQuery method to do identify operations in VB.NET.
Here the code:
' ========== identify ====================
Dim l1 As SharpMap.Layers.VectorLayer = map.Layers(1)
Dim pt1 As SharpMap.Geometries.Point = New SharpMap.Geometries.Point(lon, lat)
Dim dts As New SharpMap.Data.FeatureDataSet
I get NullReferenceException while executing last code row where l1,pt1,dts are all successfully defined.
Anybody can help me to find what's wrong? (sorry for my english I'm italian).