Hello,
We are experiencing a bug where some of the regions defined for our map are "disappearing" after zooming. The following screenshots illustrate the problem.
I can provide the xaml/C# if necessary, though the C# is 600+ loc. Any assistance would be greatly appreciated.
I set the maplayer's Resolution to 0, and turned AutoCalculateResolution to false. Unfortunately, this hasn't affected the unusual behavior we're seeing. Is there anything else aside from the culling algorithm that could cause some regions to re-render, and not render at all?
The resolution property relates to the physical size has to be to prevent being culled. Since you are rendering the map rather small, this makes the culling more aggressive, since the shapes are rendered smaller, and thus less perceivable. I believe you may have to set AutoCalculateResolution to false also, if you are manually setting the resolution, by the way.
I don't think my previous screenshot correctly represented the behavior we're seeing. I managed to get a better representation:
As you can see, the majority of the map has been culled. I will do some testing around the Resolution property, but right now we aren't setting that explicitly.
Thank you for your quick response!
Hi,
This is actually expected behavior. There is an auto-culling routine that removes shapes that are "too small" to aid perfomance for shapefiles that have a lot of geometry that isnt necessarily important when you are zoomed out. You can effect this behavior by adjusting the Resolution property on the map layer. Let me know if this helps!
-Graham