Popup
The <Popup/>
component is a child of Map, it provides information when the user manipulates a control.
Props
Props that can be passed to every <Popup/>
component.
anchor
"center" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | "top" | "bottom" | "left" | "right" | undefined
closeButton
boolean | undefined
location
LngLat
required
offset
number | [number, number] | undefined