Quantcast
Channel: DotSpatial Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 1128

Commented Unassigned: zoom in throws a StackOverflowException [63625]

$
0
0
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: What DotSpatial version do you use? I'm running the latest changeset. You said you scrolled in on a shape when your error showed up. So I went and scrolled in on my map til I had an extent smaller than 1e-7 and then scrolled in another 1000 times by keeping the + key pressed. This runs the code shown in your screenshot without causing an error. If you're not running the latest changeset please download that and try whether you get your error again. If you're running the lastest changeset please tell me how to recreate your error.

Viewing all articles
Browse latest Browse all 1128

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>