Skip to main content

ShapeHoverStyle

wemap-sdk-js


Type Alias: ShapeHoverStyle

ShapeHoverStyle = object

Absolute style applied to a shape while hovered. Unspecified properties keep the shape's base (non-hover) value.

Properties​

fill?​

optional fill?: string

Polygon fill colour on hover.


fill-opacity?​

optional fill-opacity?: number

Polygon fill opacity on hover, 0–1.


stroke?​

optional stroke?: string

Line / polygon-outline colour on hover.


stroke-width?​

optional stroke-width?: number

Line / polygon-outline width on hover, px.