I need some insight as how to handle this. If I dynamically set the scale and new width and height of the control like this.
CurrentScale = NewScale;
winformsMap1.Height = NewHeight;
winformsMap1.Width = NewWidth;
After this executes the current scale is set to some fractional number and a folders are created using the new CurrentScale.
I check it and set it back to NewScale but the component has already created about 1/2 dozen new png's in the Cache folder impacting performance. The folders always show up with a fractional value like 32159.7732587224
How do I stop this from happening?
I have tried to set winformsMap1.ZoomLevelSnapping = to any of these. Default SnapUp and NONE ZoomLevelSnappingMode.Default;
And I set winformsMap1.MapResizeMode = MapResizeMode.PreserveScale;
Help.. I am currently using the latest Version 4.0.
Just from my point of view the size of the control should not be tied to the scale of the image. The size of the control is effectively a clipping region for painting the image and should not effect the scale. Am I missing something here? Thanks and if this is still in process please let me know so I can tell my boss.