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