The geoPolygon type represents a geographic polygon. More...
| Import Statement: | import QtPositioning
|
The geoPolygon type is a geoShape that represents a geographic polygon. It is a direct representation of QGeoPolygon and is defined in terms of a path which holds a list of geoCoordinates in the polygon.
The polygon is considered invalid if its path holds less than three coordinates.
When integrating with C++, note that any QGeoPolygon value passed into QML is automatically converted into a geoPolygon, and vice versa.
path : list<geoCoordinate>
This property holds the list of coordinates defining the polygon.
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-6.9/qml-geopolygon.html