MapPolylineObject QML Type
The MapPolylineObject displays a polyline on a Map. More...
Import Statement: | import Qt.labs.location 1.0 |
Properties
-
line
- line.width : int
- line.color : color
- path : VariantList
Detailed Description
The MapPolylineObject displays a polyline on a Map. The MapPolylineObject type only makes sense when contained in a Map or in a MapObjectView.
Property Documentation
line.width : int
This property is part of the line property group. The line property group holds the width and color used to draw the line.
The width is in pixels and is independent of the zoom level of the map. The default values correspond to a black border with a width of 1 pixel.
For no line, use a width of 0 or a transparent color.
path : VariantList
This property holds the ordered list of coordinates which define the polyline.
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-5.12/qml-qt-labs-location-mappolylineobject.html