Hi,
Has anyone encountered this before?
I have this code:
BaseShape baseShapePolygon = BaseShape.CreateShapeFromWellKnownData(wkbPolygon);
baseShapePolygon.Id = “baseshape1”;
InMemoryFeatureLayer inMemoryLayerPolygon = new InMemoryFeatureLayer();
inMemoryLayerPolygon.Name = “Polygon_1”;
inMemoryLayerPolygon.InternalFeatures.Add(Strings.LayerFeatureName_Polygon, new Feature(baseShapePolygon)); <-- Error:
inMemoryLayerPolygon.ZoomLevelSet.ZoomLevel01.DefaultAreaStyle.FillSolidBrush.Color = GeoColor.FromArgb(20, 200, 0, 200);
inMemoryLayerPolygon.ZoomLevelSet.ZoomLevel01.DefaultAreaStyle.OutlinePen = new GeoPen(GeoColor.FromArgb(250, 200, 0, 200), 1);
inMemoryLayerPolygon.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20;
nonTidalOverlay.Layers.Add(inMemoryLayerPolygon.Name, inMemoryLayerPolygon);
At the “<-- Error” part, the error is "Method not found: ‘ThinkGeo.MapSuite.Core.GeoCollection`1<ThinkGeo.MapSuite.Core.Feature> ThinkGeo.MapSuite.Core.InMemoryFeatureLayer.get_InternalFeatures()’. "
This happened after I upgraded from ThinkGeo 6 to 7…
Any idea why this is so? Thanks!