A PropertyAnimation for geo coordinate properties. 更多...
import 语句: | import QtPositioning 6.2 |
Since: | Qt 5.3 |
继承: | PropertyAnimation |
A specialized PropertyAnimation that defines an animation between two coordinates .
默认情况下, latitude 的 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.
direction property can be set to specify the direction in which the longitude animation should occur.
另请参阅 Qt Quick 中的动画和过渡 .
[since 5.5] direction : enumeration |
This property holds the direction of the longitude animation of the coordinate .
Possible values are:
该特性在 Qt 5.5 引入。
from : coordinate |
This property holds the coordinate where the animation should begin.
to : coordinate |
This property holds the coordinate where the animation should end.