Skip to main content

PolylineLayer

A layer to display PolylineMarkers.

Examples​

See Map Control.

PolylineLayer Properties​

polylines​

A list of PolylineMarkers to be displayed.

PolylineMarker Properties​

A marker for the PolylineLayer.

border_color​

The border color of this polyline.

border_stroke_width​

The border stroke width of this polyline.

Defaults to 0.0 - disabled.

color​

The color of this polyline marker.

colors_stop​

A list of stops for gradient colors along the polyline.

coordinates​

The coordinates (latitude and longitude) defining the polyline.

Value is a list with items of type MapLatitudeLongitude.

gradient_colors​

A list of colors in case a gradient should get used.

stroke_cap​

The stroke cap style of the polyline.

Value is of type StrokeCap and defaults to StrokeCap.ROUND.

stroke_join​

The stroke join style of the polyline.

Value is of type StrokeJoin and defaults to StrokeJoin.ROUND.

stroke_width​

The stroke width of this polyline.

stroke_pattern​

The stroke pattern of this polyline.

Value is of type StrokePattern and defaults to SolidStrokePattern().

use_stroke_width_in_meter​

A boolean value to indicate if the stroke width is in meters or pixels.

Defaults to False - pixels.