MapPolylineObject QML Type

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.

path : VariantList

This property holds the ordered list of coordinates which define the polyline.