Properties
optional public clickable?: boolean
If false, the vector will not emit mouse events and will act as a part of the
underlying map.
Default value: true.
optional public color?: string
Stroke color.
Default value: '#03f'.
optional public dashArray?: string
A string that defines the stroke dash pattern. Doesn't work on canvas-powered
layers (e.g. Android 2).
optional public fill?: boolean
Whether to fill the path with color. Set it to false to disable filling on polygons
or circles.
optional public fillColor?: string
Fill color.
Default value: same as color.
optional public fillOpacity?: number
Fill opacity.
Default value: 0.2.
optional public opacity?: number
Stroke opacity.
Default value: 0.5.
optional public pointerEvents?: boolean
Sets the pointer-events attribute on the path if SVG backend is used.
optional public stroke?: boolean
Whether to draw stroke along the path. Set it to false to disable borders on
polygons or circles.
Default value: true.
optional public weight?: number
Stroke width in pixels.
Default value: 5.