Skip to content

PolylineMarker

Inherits: Control

A marker for the PolylineLayer.

Properties

Properties#

border_color #

border_color: ColorValue = YELLOW

The border's color.

border_stroke_width #

border_stroke_width: Number = 0.0

The width of the stroke with of the line border.

Note

Must be non-negative.

color #

color: ColorValue = YELLOW

The color of the line stroke.

colors_stop #

colors_stop: list[Number] | None = None

The stops for the gradient_colors.

coordinates #

coordinates: list[MapLatitudeLongitude]

The list of coordinates for the polyline.

gradient_colors #

gradient_colors: list[ColorValue] | None = None

The List of colors in case a gradient should get used.

stroke_cap #

stroke_cap: StrokeCap = ROUND

Style to use for line endings.

stroke_join #

stroke_join: StrokeJoin = ROUND

Style to use for line segment joins.

stroke_pattern #

stroke_pattern: StrokePattern = field(
    default_factory=lambda: SolidStrokePattern()
)

Determines whether the line should be solid, dotted, or dashed, and the exact characteristics of each.

stroke_width #

stroke_width: Number = 1.0

The width of the stroke.

Note

Must be non-negative.

use_stroke_width_in_meter #

use_stroke_width_in_meter: bool = False

Whether the stroke's width should have meters as unit.