PolylineMarker
A marker for the PolylineLayer.
Inherits: Control
Properties
border_color- The border's color.border_stroke_width- The width of the stroke with of the line border.color- The color of the line stroke.colors_stop- The stops for the gradient_colors.coordinates- The list of coordinates for the polyline.gradient_colors- The List of colors in case a gradient should get used.stroke_cap- Style to use for line endings.stroke_join- Style to use for line segment joins.stroke_pattern- Determines whether the line should be solid, dotted, or dashed, and the exact characteristics of each.stroke_width- The width of the stroke.use_stroke_width_in_meter- Whether the stroke's width should have meters as unit.
Properties
border_colorclass-attributeinstance-attribute
border_color: ColorValue = Colors.YELLOWThe border's color.
border_stroke_widthclass-attributeinstance-attribute
border_stroke_width: Number = 0.0The width of the stroke with of the line border.
Raises:
- ValueError - If it is less than
0.0.
colorclass-attributeinstance-attribute
color: ColorValue = Colors.YELLOWThe color of the line stroke.
colors_stopclass-attributeinstance-attribute
colors_stop: Optional[list[Number]] = NoneThe stops for the gradient_colors.
coordinatesinstance-attribute
coordinates: list[MapLatitudeLongitude]The list of coordinates for the polyline.
gradient_colorsclass-attributeinstance-attribute
gradient_colors: Optional[list[ColorValue]] = NoneThe List of colors in case a gradient should get used.
stroke_capclass-attributeinstance-attribute
stroke_cap: StrokeCap = StrokeCap.ROUNDStyle to use for line endings.
stroke_joinclass-attributeinstance-attribute
stroke_join: StrokeJoin = StrokeJoin.ROUNDStyle to use for line segment joins.
stroke_patternclass-attributeinstance-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_widthclass-attributeinstance-attribute
stroke_width: Number = 1.0The width of the stroke.
Raises:
- ValueError - If it is less than
0.0.
use_stroke_width_in_meterclass-attributeinstance-attribute
use_stroke_width_in_meter: bool = FalseWhether the stroke's width should have meters as unit.