type MapboxViewport = { center?: LngLat; bearing?: number; pitch?: number; zoom?: number; };
mapboxGetActualMapBounds
A utility function that retrieves the actual map bounds ignoring any padding set on the map.
Packages
Packages are used to add extendable code to your project.
On this page
Contribute