This project is read-only.


Dynamic visibility not working correctly


The dynamic visibility for layers and labels doesn't work properly. The layer is displayed but not at the scale set using the layer context menu Set Dynamic Visibility Scale. I used the DemoMap and the standard State and County shapefiles.
Closed Feb 28 at 9:04 AM by jany_
This issue list is no longer active. This issue has been copied to our issue list on github (

Please check there to find out whether this issue was fixed.


Shade1974 wrote Feb 1, 2011 at 12:37 AM

Is it off by exactly one zoom scroll? This may be an issue of > vs. >= in the comparison test or something. If it is completely wrong, then it might be something different.


kurtw555 wrote Feb 1, 2011 at 5:05 PM

DynamicVisibilityWidth = MapFrame.Extent.Width
DynamicVisibilityWidth = MapFrame.ViewExtents.Width

in DotSpatial.Symbology.Layer.cs looks like it fixes the problem.

kurtw555 wrote Feb 1, 2011 at 6:16 PM

Fixes the problem for the layer but not the labels.