CoordinateAnimation QML Type

PropertyAnimation ジオ座標プロパティ。詳細...

Import Statement: import QtPositioning
Inherits:

PropertyAnimation

プロパティ

詳細説明

2つの座標間のアニメーションを定義する特殊なPropertyAnimation

デフォルトでは、座標の緯度は、それらの座標間の最短距離(測地線)の方向にアニメーションされる。CoordinateAnimation はメルカトル図法を用いているので、緯度アニメーションは常に -90 度から 90 度の間で行われる。経度アニメーションの経路は制限されず、西と東の両方向に180度以上進むことができます。

direction プロパティを設定することで、経度アニメーションの方向を指定することができます。

Qt Quick のアニメーションとトランジションも参照してください

プロパティの説明

direction : enumeration

このプロパティは、座標の経度アニメーションの方向を保持する。

設定可能な値は以下のとおりです:

  • CoordinateAnimation.Shortest(デフォルト) - 経度アニメーションは、最も短いアニメーション経路を生成する方向に進みます。
  • CoordinateAnimation.West - 経度アニメーションは常に西の方向に進み、日付変更線を越えることがあります。
  • CoordinateAnimation.East - 経度アニメーションは常に東の方向に進み、日付変更線を横切る可能性があります。

from : coordinate

このプロパティは、アニメーションを開始する座標を保持します。


to : coordinate

このプロパティは、アニメーションを終了する座標を保持します。


© 2025 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.