This project is read-only.

Very slow Rendering in version 4.9.2

Sep 4, 2014 at 2:57 PM
Hi all!

I have version MapWinGis 4.8.8 and i want update to v. 4.9.2. And i have problem:
Shape-file wich have more 1000 shapes rendering quick (any size of window) in version 4.8.8 (redraw time ~0.01), but in v.4.9.2 render is quickly only for size window ~300x300pix (or less size), and render is very slow (one shape in shape-file) for full-screen mode (~1366x768, redraw time ~0.2sec).
Properties Shapefile.FastMode and Shapefile.CacheExtents don't change its value.

Hope, your understand me
Shapefile sf = new Shapefile();
sf.Open(path, null);
axMap1.AddLayer(sf, true);

sf.FastMode = true;
sf.CacheExtents = true; 
// after it change sf.FastMode = FALSE; sf.CacheExtents = FALSE; 

MS VS2010, C#
Nov 25, 2014 at 12:51 PM
You don't need to call axMap1.Redraw(); after axMap1.AddLayer(sf, true);
And perhaps adding a spatial index might help:
And are you sure your shapefile is valid:

If you keep having trouble can you send me your shapefile?