QtPositioning QML Type
El objeto global QtPositioning proporciona funciones útiles para trabajar con tipos basados en la localización en QML. Más...
| Import Statement: | import QtPositioning |
Métodos
- geoCircle circle()
- geoCircle circle(coordinate center, real radius)
- point coordToMercator(coordinate coord)
- coordinate coordinate()
- coordinate coordinate(real latitude, real longitude, real altitude)
- coordinate mercatorToCoord(point mercator)
- 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(list<coordinate> coordinates)
- geoRectangle rectangle(coordinate topLeft, coordinate bottomRight)
- geoRectangle rectangle(coordinate center, real width, real height)
- geoShape shape()
- geoCircle shapeToCircle(geoShape shape)
- geoPath shapeToPath(geoShape shape)
- geoPolygon shapeToPolygon(geoShape shape)
- geoRectangle shapeToRectangle(geoShape shape)
Descripción detallada
Documentación del método
geoCircle circle()
Construye un geoCircle no válido .
Véase también geoCircle.
geoCircle circle(coordinate center, real radius)
Construye un geoCircle centrado en center con un radio de radius metros.
point coordToMercator(coordinate coord)
Convierte una coordenada coord en una coordenada mercator y la devuelve.
Véase también mercatorToCoord.
coordinate coordinate()
Construye una coordenada inválida.
coordinate coordinate(real latitude, real longitude, real altitude)
Construye una coordenada con los datos especificados latitude, longitude y altitude opcional. Tanto latitude como longitude deben ser válidos, de lo contrario se devuelve una coordenada inválida.
Véase también coordinate.
coordinate mercatorToCoord(point mercator)
Convierte una coordenada mercator en una coordenada de latitud-longitud.
Véase también coordToMercator.
geoPath path()
Construye una página vacía geoPath.
Véase también geoPath.
geoPath path(list<coordinate> coordinates, real width)
Construye un geoPath a partir de coordenadas y anchura.
Véase también geoPath.
geoPolygon polygon()
Construye un polígono vacío.
Véase también geoPolygon.
geoPolygon polygon(list<coordinate> coordinates)
Construye un polígono a partir de coordenadas.
Véase también geoPolygon.
geoPolygon polygon(list<coordinate> perimeter, list<list<coordinate>> holes)
Construye un polígono a partir de coordenadas para el perímetro y los agujeros interiores.
Véase también geoPolygon.
geoRectangle rectangle()
Construye un geoRectangle no válido .
Véase también geoRectangle.
geoRectangle rectangle(list<coordinate> coordinates)
Construye un geoRectangle a partir de la lista de coordenadas, la lista devuelta es la más pequeña posible que contenga todas las coordenadas.
Véase también geoRectangle.
geoRectangle rectangle(coordinate topLeft, coordinate bottomRight)
Construye un geoRectangle con su esquina superior izquierda situada en topLeft y su esquina inferior derecha situada en bottomRight.
Véase también geoRectangle.
geoRectangle rectangle(coordinate center, real width, real height)
Construye un geoRectangle centrado en center con una anchura de width grados y una altura de height grados.
Véase también geoRectangle.
geoShape shape()
Construye un geoShape no válido .
Véase también geoShape.
geoCircle shapeToCircle(geoShape shape)
Convierte shape en un geoCircle.
Véase también geoCircle.
geoPath shapeToPath(geoShape shape)
Convierte shape en un geoPath.
Véase también geoPath.
geoPolygon shapeToPolygon(geoShape shape)
Convierte shape en un polígono.
Véase también geoPolygon.
geoRectangle shapeToRectangle(geoShape shape)
Convierte shape en un geoRectangle.
Véase también geoRectangle.
© 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.