Skip to main content

ShapeLayerOptions

wemap-sdk-js


Type Alias: ShapeLayerOptions

ShapeLayerOptions = object

Options for ShapeLayer.

Properties

hover?

optional hover?: ShapeHoverStyle | false

Hover appearance. Omit for the default cue (a slightly stronger fill and outline); pass a ShapeHoverStyle for absolute overrides; pass false to disable the highlight while keeping the pointer cursor and click events.


interactive?

optional interactive?: boolean

Wire click events and hover styling (pointer cursor + highlight). Default true. Set false for purely decorative, non-interactive shapes.