Nelson,
Following is the main changes since 3.0.392 or later versions compare to previous public release 3.0.362.
1) Automatic Tile Cache system
Now we have turn off the tile cache system by default in 3.0.392, while it is on in previous email. If you want, you can turn it on by setting TileCache in overlay.
We have provided some kinds of TileCache system for use as following:
staticOverlay.TileCache = new FileBitmapTileCache(@"C:\temp");
staticOverlay.TileCache = new InMemoryBitmapTileCache();
staticOverlay.TileCache = new HybridBitmapTileCache(@"C:\temp","StaticOverlay");
2) Preview Tile cache
This is exactly the same with Automatic Tile Cache system.
staticOverlay.PreviewTileCache = new FileBitmapTileCache(@"C:\temp");
staticOverlay.PreviewTileCache = new InMemoryBitmapTileCache();
staticOverlay.PreviewTileCache = new HybridBitmapTileCache(@"C:\temp", "StaticOverlay");
3) No delay by default .
In original versions, the delay is on , while in latest version(3.0.392), the default delay is 0, while you can turn any of them on if you want
winformsMap1.DebugParameters["PanDelay"] = "100";
winformsMap1.DebugParameters["MouseWheelDelay"] = "100";
winformsMap1.DebugParameters["MouseDoubleClickDelay"] = "100";
4) Single threaded by default
We change the default threading mode from MultiThreaded to SingleThreaded.
5) build index
Now we have added the Index for the in memory features to enhance its performance. We suggest using the Edit transaction system to add features to internal features.While when you add the internal features directly, you have to call the BuildIndex to enhance its performance
InMemoryFeatureLayer inMemoryLayer = new InMemoryFeatureLayer();
inMemoryLayer.InternalFeatures.Add("Polygon", new Feature(BaseShape.CreateShapeFromWellKnownData("POLYGON((10 60,40 70,30 85, 10 60))")));
inMemoryLayer.InternalFeatures.Add("Multipoint", new Feature(BaseShape.CreateShapeFromWellKnownData("MULTIPOINT(10 20, 30 20,40 20, 10 30, 30 30, 40 30)")));
inMemoryLayer.InternalFeatures.Add("Line", new Feature(BaseShape.CreateShapeFromWellKnownData("LINESTRING(60 60, 70 70,75 60, 80 70, 85 60,95 80)")));
inMemoryLayer.InternalFeatures.Add("Rectangle", new Feature(new RectangleShape(65, 30, 95, 15)));
inMemoryLayer.BuildIndex();
Any more questions just let me know.
Thanks.
Yale