Skip to content

PolylineMarker

Inherits: Control

A marker for the PolylineLayer.

Properties

Properties#

border_color class-attribute instance-attribute #

border_color: ColorValue = YELLOW

The border's color.

border_stroke_width class-attribute instance-attribute #

border_stroke_width: Number = 0.0

The width of the stroke with of the line border.

Raises:

color class-attribute instance-attribute #

color: ColorValue = YELLOW

The color of the line stroke.

colors_stop class-attribute instance-attribute #

colors_stop: list[Number] | None = None

The stops for the gradient_colors.

coordinates instance-attribute #

coordinates: list[MapLatitudeLongitude]

The list of coordinates for the polyline.

gradient_colors class-attribute instance-attribute #

gradient_colors: list[ColorValue] | None = None

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

stroke_cap class-attribute instance-attribute #

stroke_cap: StrokeCap = ROUND

Style to use for line endings.

stroke_join class-attribute instance-attribute #

stroke_join: StrokeJoin = ROUND

Style to use for line segment joins.

stroke_pattern class-attribute instance-attribute #

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 class-attribute instance-attribute #

stroke_width: Number = 1.0

The width of the stroke.

Raises:

use_stroke_width_in_meter class-attribute instance-attribute #

use_stroke_width_in_meter: bool = False

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