- Qt 5.15
- Qt Location
- QML Types
- MapPolylineObject QML Type
- Qt 5.15.11 Reference Documentation

# MapPolylineObject QML Type

The MapPolylineObject displays a polyline on a Map. More...

Import Statement: | import Qt.labs.location 1.0

- List of all members, including inherited members

## Properties

- line
  - line.color : color
  - line.width : int
- 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 group
line.color : color
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.