Slow Rendering

Topics: SharpMap v0.9 / v1.x
Jul 17, 2010 at 4:04 PM
Edited Jul 17, 2010 at 4:09 PM


i've written a program and i used picMap.image for getting the map but the process is really slow and it takes about 10sec for refreshing the map.

i read somewhere in this section that using mapBox will improve the performance or i can use Layer.MaxRange but i can't find any example. how can i use the mapBox  for getting the map or Layer.MapRange to limited the features ?

Thanks in advance.

Jul 18, 2010 at 1:18 PM
Hi noyfound try: vectorLayer.MinZoom = somedouble; vectorLayer.MaxZoom = biggerdouble; the layer will be rendered when Map.Zoom >= somedouble && Map.Zoom < biggerdouble hth jd