AnsweredAssumed Answered

QML Map's onMapScaleChanged and onMapExtentChanged signals not working as expected, especially on Android.

Question asked by jon.g@39dn.com on Mar 21, 2016
Latest reply on Mar 23, 2016 by LDanzinger-esristaff


When I build a project for desktop or android, mapScaleChanged and mapExtentChanged both fire off at the same time, there appears to be no functional difference between them.  I would have expected "mapScaleChanged" to fire off only when the map zoom level changes, instead it also fires off when I'm panning.

 

Furthermore, when I build for android, not only do both of these events fire off at the same time, but they fire off dozens of times while either panning or zooming. They seem to fire off whenever the touch moves, not just when the touch is released. I would have expected them to work as they do on desktop, which is only to fire off when the mouse is released.

 

Can anyone speculate as to what could be going wrong?

Outcomes