Skip to content

worldwind-ui API / react-worldwind / PopupProps

Interface: PopupProps ​

Defined in: react/src/ui/Popup.tsx:8

Properties ​

anchor? ​

optional anchor?: PopupAnchor

Defined in: react/src/ui/Popup.tsx:12

Which side of the position the popup sits on. bottom means the popup's bottom edge touches the point (popup above it). Default bottom.


children? ​

optional children?: ReactNode

Defined in: react/src/ui/Popup.tsx:22


className? ​

optional className?: string

Defined in: react/src/ui/Popup.tsx:21


hideWhenHidden? ​

optional hideWhenHidden?: boolean

Defined in: react/src/ui/Popup.tsx:20

Hide the popup while its position is behind the globe or off screen. Default true.


offset? ​

optional offset?: object

Defined in: react/src/ui/Popup.tsx:14

Extra offset in CSS pixels.

x? ​

optional x?: number

y? ​

optional y?: number


onClose? ​

optional onClose?: () => void

Defined in: react/src/ui/Popup.tsx:18

Renders a close button that calls this.

Returns ​

void


position ​

position: LatLonAlt

Defined in: react/src/ui/Popup.tsx:10

The geographic position the popup points at.


title? ​

optional title?: ReactNode

Defined in: react/src/ui/Popup.tsx:16

Optional bold first line.

MIT licensed. Not affiliated with NASA; WorldWind is NASA's open-source virtual globe.