Hello,
I am not a paying customer currently but am evaluating the web edition of Map Suite. Potentially we may pick this up but I need to make a case for ease of use versus cost etc...
The issue I'm having at the moment is trivial. I am trying to establish track zoom by selecting a tool or having pressed a button as opposed to holding shift. Also, I will be adding other resources that utilize a trackshape such as selection features, etc.
I found this lone post in regards to trackshape: gis.thinkgeo.com/Support/Dis...fault.aspx
I am working in vb.net but have successfully been running down it trying to convert it over which is usually not too difficult. In my trackshapefinished event of my map object, this is what I have so far:
Dim highlightLayer As InMemoryFeatureLayer = GeoMap.DynamicOverlay.Layers("HighlightLayer")Dim parcelLayer As FeatureLayer = GeoMap.StaticOverlay.Layers("Parcels")For Each fKey As String In GeoMap.EditLayer.InternalFeatures.KeysDim trackShape As Feature = GeoMap.EditLayer.InternalFeatures(fKey)Dim fCollection As Collection = parcelLayer.QueryTools.GetFeaturesIntersecting (trackShape, New String() {}) Next
Value of type 'System.Collections.ObjectModel.Collection(Of ThinkGeo.MapSuite.Core.Feature)' cannot be converted to 'Microsoft.VisualBasic.Collection'.
I can't really figure out why this is the case if both are of the collection type. Unless they are deriving from different collection classes. Any help would be appreciated; I am certainly interested in moving forward and setting up a demonstration page to make a case for investment into this product.
Thanks,
Nelson
highlightLayer.InternalFeatures.Clear()
GeoMap.EditLayer.InternalFeatures.Clear()
---End code.
This is where I have stopped because I am getting an error on the fCollection line. The error generated is: