geopath QML Value Type
The geopath type represents a geographic path. More...
Import Statement: | import QtPositioning 6.5 |
Detailed Description
The geopath
type is a geoshape that represents a geographic path. It is a direct representation of a QGeoPath and is defined in terms of a path which holds the list of geo coordinates in the path.
The path is considered invalid if it is empty.
When integrating with C++, note that any QGeoPath value passed into QML from C++ is automatically converted into a geopath
value, and vice versa.
Properties
path
This property holds the list of coordinates defining the path.
width
This property holds the width of the path in meters. This is currently only used when calling the contains() method.
The default value for the width is 0.
© 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.