このページでは

CoordinateAnimation QML Type

地理座標プロパティ用のPropertyAnimation 。詳細...

Import Statement: import QtPositioning
Inherits:

PropertyAnimation

プロパティ

詳細な説明

2つのcoordinates 間のアニメーションを定義する、特殊なPropertyAnimation です。

デフォルトでは、geoCoordinate のlatitude は、それらの座標間の最短距離(測地線)の方向にアニメーションされます。CoordinateAnimationはメルカトル図法を使用しているため、latitude のアニメーションは常に-90度から90度の範囲内となります。longitude のアニメーションパスに制限はなく、東西方向のいずれにおいても180度を超えることができます。

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

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

プロパティのドキュメント

direction : enumeration

このプロパティは、geoCoordinate のlongitude アニメーションの方向を保持します。

定数説明
CoordinateAnimation.Shortest経度のアニメーションは、アニメーションの経路が最も短くなる方向に進みます。これがデフォルトの設定です。
CoordinateAnimation.West経度アニメーションは常に西方向に進み、日付変更線を越える場合があります。
CoordinateAnimation.East経度アニメーションは常に東方向に進み、日付変更線を越える場合があります。

from : coordinate

このプロパティには、アニメーションを開始する座標が格納されます。

to : coordinate

このプロパティには、アニメーションを終了させる座標が格納されます。

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