QtPositioning QML Type▲
-
Import Statement: import QtPositioning 6.5
Detailed Description▲
import
QtPositioning
Item
{
property
var coordinate
:
QtPositioning.coordinate(-
27.5, 153.1)
}
Method Documentation▲
geocircle circle()▲
geocircle circle(coordinate center, real radius)▲
Constructs a geocircle centered at center with a radius of radius meters.
point coordToMercator(coordinate coord)▲
Converts a coordinate coord into a mercator coordinate and returns it.
See Also▲
See also mercatorToCoord
coordinate coordinate()▲
Constructs an invalid coordinate.
coordinate coordinate(real latitude, real longitude, real altitude)▲
Constructs a coordinate with the specified latitude, longitude and optional altitude. Both latitude and longitude must be valid, otherwise an invalid coordinate is returned.
See Also▲
See also coordinate
coordinate mercatorToCoord(point mercator)▲
Converts a mercator coordinate into a latitude-longitude coordinate.
See Also▲
See also coordToMercator
geopath path()▲
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 rectangle(coordinate center, real width, real height)▲
Constructs a georectangle centered at center with a width of width degrees and a hight of height degrees.
See Also▲
See also georectangle
georectangle rectangle(coordinate topLeft, coordinate bottomRight)▲
Constructs a georectangle with its top left corner positioned at topLeft and its bottom right corner positioned at bottomRight.
See Also▲
See also georectangle
georectangle rectangle(list<coordinate> coordinates)▲
Constructs a georectangle from the list of coordinates, the returned list is the smallest possible containing all the coordinates.
See Also▲
See also georectangle