@theredhead — Frontend Library - v1.0.0
    Preparing search index...

    A polyline rendered as an SVG path on the map.

    interface MapPolyline {
        color?: string;
        dashArray?: string;
        highlightColor?: string;
        highlighted?: boolean;
        highlightWidth?: number;
        points: MapLatLng[];
        width?: number;
    }
    Index

    Properties

    color?: string

    Stroke colour. Defaults to var(--mv-accent).

    dashArray?: string

    SVG dash pattern (e.g. "8 4"). Solid if omitted.

    highlightColor?: string

    Stroke colour when highlighted. Defaults to var(--mv-highlight).

    highlighted?: boolean

    When true the highlight colours / widths are used instead.

    highlightWidth?: number

    Stroke width when highlighted. Defaults to 4.

    points: MapLatLng[]

    Ordered list of geographic vertices.

    width?: number

    Stroke width in pixels. Defaults to 2.