Unsolved QML map center animation
-
Hi! How to implement animation to map center?
CoordinateAnimation moves only MapQuickItem, I need change map center with animation. -
Hi,
You can define a behavior on the
center
property, as we do it in our AppMap component (AppMap is an enhancement of the Map component - it simplifies the handling of user position - and is part of our V-Play SDK):Behavior on center { CoordinateAnimation { duration: 400 easing.type: Easing.InOutQuad } }
Every change to the coordinate property is then animated.
Best,
Alex