The location of the popup on the map.
Optional
objInvoked to pass the Mapbox control to the function provider, typically the parent React component.
An instance of the type of the Mapbox control that backs the React component.
Optional
onInvoked when the popup is closed.
Rest
...args: unknown[]Any args from the close event will be passed to onClose
.
Optional
optionsOptions that affect the display of the popup.
Components that implement this interface display a popup directly on the map.
See
Mapbox Popup