The MapPolylineObject displays a polyline on a Map. 更多...
import 语句: | import Qt.labs.location 1.0 |
The MapPolylineObject displays a polyline on a Map. The MapPolylineObject type only makes sense when contained in a Map or in a MapObjectView .
line group |
---|
line.width : int |
line.color : color |
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.
This property holds the ordered list of coordinates which define the polyline.