geopolygon QML Value Type

The geopolygon type represents a geographic polygon. More...

Import Statement: import QtPositioning 6.6

Detailed Description

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 geo coordinates 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.



This property holds the list of coordinates defining the polygon.

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