Greetings.... I am still in my first few hours with MapSuite 4.5 and am very impressed so far. I am trying to scratch together a prototype application for my boss by Monday (no, I did not procrastinate on some task , I am just presenting options for a project that is going slowly).
Let's say I pull in some shapes from a shp file or use inMemoryLayer.InternalFeatures.Add to get features into an overlay and then add the overlay to the map. How do I promote those features to the EditOverlay? I saw how to promote from the TrackOverlay to the EditOverlay in the samples but when I try something like this:
InMemoryFeatureLayer inMemoryLayer = (InMemoryFeatureLayer)winformsMap1.FindFeatureLayer("worldLayer")
I get an exception:
Unable to cast object of type 'ThinkGeo.MapSuite.Core.ShapeFileFeatureLayer' to type 'ThinkGeo.MapSuite.Core.InMemoryFeatureLayer'
Thank you for your time,
Dave