Qt Location 使用例
これらの例では Qt Locationたとえば、QML のユーザーインターフェイスに地図を表示したり、基本的な経路検索や場所検索を実装したり、測位データ型を統合したりすることができます。
これらの例は、利用可能などのジオサービスプラグインでも動作します。ただし、プラグインによっては正しく動作させるためにplugin parameters を追加する必要があります。これらの例で使用されているデフォルトのプラグインはQt Location Open Street Map Plugin で、パラメータを必要としません。
GeoJson ビューアの例では、MapItems の操作方法、ユーザー入力の処理方法、GeoJson ファイルとの入出力方法を示します。 | |
マップビューアの例では、マップの表示と操作、住所の検索、道順の検索方法を示します。 | |
トランジションを MapItemView と一緒に使う方法。 | |
Qt Quick を使って地図を表示するための最小限のコード。 | |
Placesの例では、Placesを検索し、関連するコンテンツにアクセスする方法を示します。 | |
Places List の例では、ListView を使用して場所を検索し、リストを表示する方法を示します。 | |
Places Map の例では、MapItemView を使って、場所を検索し、地図上に場所のリストを表示する方法を示します。 | |
Plane Spotterの例では、QMLに位置情報や測位データ型を緊密に統合する方法を示しています。 |
© 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.