QtPositioning QML Type

QtPositioning グローバルオブジェクトは、QML で位置情報を扱うための便利な関数を提供します。詳細...

Import Statement: import QtPositioning

メソッド

詳細説明

import QtPositioning

Item {
    property var coordinate: QtPositioning.coordinate(-27.5, 153.1)
}

メソッドの説明

geocircle circle()

無効なジオサークルを構築する。

geocircleも参照


geocircle circle(coordinate center, real radius)

center を中心とし、半径がradius メートルのジオサークルを構築します。


point coordToMercator(coordinate coord)

座標coord をメルカトル座標に変換して返す。

mercatorToCoordも参照


coordinate coordinate()

無効な座標を構築 し ます。


coordinate coordinate(real latitude, real longitude, real altitude)

指定 さ れたlatitudelongitude およびオプ シ ョ ナルなaltitude を持つ座標を構築 し ます。latitudelongitude の両方が有効でなければな り ません。 そ う でない と きは無効な座標が返 さ れます。

coordinateも参照。


coordinate mercatorToCoord(point mercator)

mercator 座標を緯度経度座標に変換 し ます。

coordToMercatorも参照して く ださい。


geopath path()

空の geopath を構築 し ます。

geopathも 参照 し て く だ さ い。


geopath path(list<coordinate> coordinates, real width)

ジオパスを座標と幅から構築します。

ジオパス」も参照して ください。


geopolygon polygon()

空のポリゴンを作成します。

ジオポリゴン」も参照して ください。


geopolygon polygon(list<coordinate> coordinates)

座標から多角形を作成します。

ジオポリゴン」も参照


geopolygon polygon(list<coordinate> perimeter, list<list<coordinate>> holes)

座標から多角形を作成します。

ジオポリゴン」も参照して ください。


georectangle rectangle()

無効なジオレクタングルを作成します。

georectangle」も参照して ください。


georectangle rectangle(list<coordinate> coordinates)

georectangle関数は、座標のリストからgeorectangleを構築します。

georectangleも参照して ください。


georectangle rectangle(coordinate topLeft, coordinate bottomRight)

左上隅がtopLeft に位置し、右下隅がbottomRight に位置するジオレクタングルを構築します。

georectangleも参照して ください。


georectangle rectangle(coordinate center, real width, real height)

center を中心とし、幅がwidth 度、高さがheight 度であるジオレクタングルを構築します。

georectangleも参照して ください。


geoshape shape()

無効なジオシェイプを構築します。

geoshapeも参照して ください。


geocircle shapeToCircle(geoshape shape)

shape をジオサークルに変換します。

ジオサークルも参照


geopath shapeToPath(geoshape shape)

shape をジオパスに変換します。

ジオパス」も参照


geopolygon shapeToPolygon(geoshape shape)

shape をポリゴンに変換します。

ジオポリゴン」も参照


georectangle shapeToRectangle(geoshape shape)

shape を georectangle に変換する。

ジオレクタングル」も参照して ください。


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