Qt Location 例

これらの例では、 Qt Location。例えば、QMLユーザーインターフェース内での地図の表示、基本的な経路検索や場所検索の実装、さらには位置情報データ型の統合などが挙げられます。

これらの例は、利用可能なあらゆる地理サービスプラグインで動作します。ただし、一部のプラグインは正しく機能するために追加のplugin parameters を必要とする場合があります。これらの例で使用されるデフォルトのプラグインはQt Location Open Street Map Pluginであり、このプラグインはパラメータを一切必要としません。

GeoJson Viewer (QML)

GeoJsonビューアーの例では、MapItemの操作方法、ユーザー入力の処理、およびGeoJsonファイルとの入出力の処理方法を示しています。

Map Viewer (QML)

「Map Viewer」の例では、地図の表示や操作、住所の検索、および経路検索の方法について説明しています。

MapItemView Transitions (QML)

MapItemView とトランジションを併用する方法。

Minimal Map (QML)

Qt Quick を使用して地図を表示するための最小限のコード。

Places (QML)

「Places」のサンプルでは、場所の検索や関連コンテンツへのアクセス方法について解説しています。

Places List (QML)

「Places List」のサンプルでは、ListView を使用して場所を検索し、そのリストを表示する方法を示しています。

Places Map (QML)

「Places Map」のサンプルでは、MapItemView を使用して場所を検索し、そのリストを地図上に表示する方法を示しています。

Plane Spotter (QML)

「Plane Spotter」の例では、位置情報および測位データ型が QML に緊密に統合されている様子を示しています。

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