Skip to main content

ReactOverlaySpec

Spec for a react component overlay. A ctx object is passed in to your component and you are expected to return JSX.

Properties​

jsx()​

jsx: (ctx) => any

Function to invoke to get JSX for the overlay

Parameters​

ctx​

JsxWrapperProps<Edge>

Returns​

any


maxZoom?​

optional maxZoom: number

Maximum zoom this overlay will be visible at


minZoom?​

optional minZoom: number

Minimum zoom this overlay will be visible at