When zooming in to an extent of less then 1e-7 in OnViewExtentsChanged of DotSpatial.Controls.Map, the ViewExtender will be caught in a infinite loop and will eventually throw a StockOverflowException.
This was achieved by scrolling in a couple of times on a shape.
Attached are the ViewExtents' values during the infinite loop.
Please have a look at this.
Cheers
Comments: Hi and thanks for your quick reply. I used the latest source code available on your website (also reproducible when using the compiled download). Attached is the callstack. Also, when limiting the zoom from __1e-7__ to __1e-4__ in __DotSpatial.Controls.Map.OnViewExtentsChanged__, there is no StackOverflowException.
This was achieved by scrolling in a couple of times on a shape.
Attached are the ViewExtents' values during the infinite loop.
Please have a look at this.
Cheers
Comments: Hi and thanks for your quick reply. I used the latest source code available on your website (also reproducible when using the compiled download). Attached is the callstack. Also, when limiting the zoom from __1e-7__ to __1e-4__ in __DotSpatial.Controls.Map.OnViewExtentsChanged__, there is no StackOverflowException.