CoordinateAnimation QML Type
|Import Statement:||import QtPositioning 6.6|
By default, a latitude of the coordinate is animated in the direction of shortest (geodesic) distance between those coordinates. Since CoordinateAnimation uses Mercator map projection, the latitude animation is always between -90 and 90 degrees. The longitude animation path is not limited and can go over 180 degrees in both west and east directions.
See also Animation and Transitions in Qt Quick.
direction : enumeration
Possible values are:
- CoordinateAnimation.Shortest (default) - the longitude animation goes in the direction that produces the shortest animation path.
- CoordinateAnimation.West - the longitude animation always goes into western direction and may cross the date line.
- CoordinateAnimation.East - the longitude animation always goes into eastern direction and may cross the date line.
from : coordinate
This property holds the coordinate where the animation should begin.
to : coordinate
This property holds the coordinate where the animation should end.
© 2023 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.