References
fitBounds
fitBounds(bounds, zoom = mapOptions.zoom)
Set zoom and the display area limits of the map.
Parameters
bounds
- Object
The display area limits of the map.
zoom
- Number
The zoom level.
fitBounds(bounds, zoom = mapOptions.zoom)
Set zoom and the display area limits of the map.
bounds
- ObjectThe display area limits of the map.
zoom
- NumberThe zoom level.