worldwind-ui API / react-worldwind / PopupProps
Interface: PopupProps ​
Defined in: react/src/ui/Popup.tsx:8
Properties ​
anchor? ​
optionalanchor?: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? ​
optionalchildren?:ReactNode
Defined in: react/src/ui/Popup.tsx:22
className? ​
optionalclassName?:string
Defined in: react/src/ui/Popup.tsx:21
hideWhenHidden? ​
optionalhideWhenHidden?: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? ​
optionaloffset?:object
Defined in: react/src/ui/Popup.tsx:14
Extra offset in CSS pixels.
x? ​
optionalx?:number
y? ​
optionaly?:number
onClose? ​
optionalonClose?: () =>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? ​
optionaltitle?:ReactNode
Defined in: react/src/ui/Popup.tsx:16
Optional bold first line.