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)

지정된 latitude, longitude 및 선택 사항인 altitude 을 사용하여 좌표를 생성합니다. latitudelongitude 모두 유효해야 하며, 그렇지 않으면 잘못된 좌표가 반환됩니다.

coordinate도 참조하세요 .


coordinate mercatorToCoord(point mercator)

mercator 좌표를 위도-경도 좌표로 변환합니다.

coordToMercator도 참조 하세요.


geopath path()

빈 지오패스를 생성합니다.

geopath도 참조 하세요.


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

좌표와 너비로 지오패스를 구축합니다.

geopath도 참조 하세요.


geopolygon polygon()

빈 다각형을 만듭니다.

geopolygon도 참조하십시오 .


geopolygon polygon(list<coordinate> coordinates)

좌표에서 다각형을 만듭니다.

geopolygon도 참조 하세요.


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

둘레와 안쪽 구멍의 좌표로부터 다각형을 만듭니다.

geopolygon도 참조하십시오 .


georectangle rectangle()

잘못된 지오렉트릭을 구축합니다.

georectangle참조 .


georectangle rectangle(list<coordinate> coordinates)

좌표 목록에서 지오렉사각형을 구축하며, 반환되는 목록은 모든 좌표를 포함하는 가능한 가장 작은 목록입니다.

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 을 지오서클로 변환합니다.

geocircle도 참조하십시오 .


geopath shapeToPath(geoshape shape)

shape 을 지오패스로 변환합니다.

geopath도 참조하십시오 .


geopolygon shapeToPolygon(geoshape shape)

shape 을 다각형으로 변환합니다.

geopolygon참조 .


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.