OptionalfillFill colour. Defaults to var(--mv-accent).
OptionalfillFill opacity (0–1). Defaults to 0.2.
OptionalhighlightedWhen true the highlight colours / widths / opacity are used.
OptionalhighlightFill colour when highlighted.
OptionalhighlightFill opacity when highlighted. Defaults to 0.4.
OptionalhighlightStroke colour when highlighted.
OptionalhighlightStroke width when highlighted. Defaults to 3.
Ordered list of geographic vertices. The path is closed automatically.
OptionalstrokeStroke colour. Defaults to var(--mv-accent).
OptionalstrokeStroke width in pixels. Defaults to 2.
A closed polygon rendered as an SVG path on the map.