100.1 Mouse Wheel Zooming

857
2
Jump to solution
07-11-2017 08:21 AM
MarkCederholm
Occasional Contributor III

I've noticed in 100.1 that, sometimes, using the mouse wheel to zoom will cause the map to pan instead.  Has anyone else seen this?  It seems to happen most often when the map hasn't finished rendering yet.

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
MarkCederholm
Occasional Contributor III

I finally took some time to look closer at this at 100.5, and it was a feedback occurring due to a two-way binding with the map scale.  The fix was simple.  UPDATE: I've attached a simpler example project duplicating the issue.

View solution in original post

2 Replies
MarkCederholm
Occasional Contributor III

I've seen similar behavior in SetViewpointAsync [WPF]: the map will pan to the center of the geometry instead of zooming to it.  It happens rarely, and I haven't been able to reproduce it consistently, but it is annoying when it happens.

0 Kudos
MarkCederholm
Occasional Contributor III

I finally took some time to look closer at this at 100.5, and it was a feedback occurring due to a two-way binding with the map scale.  The fix was simple.  UPDATE: I've attached a simpler example project duplicating the issue.