Set the map bounds
Arguments
- map
The map or map proxy object.
- bounds
One of two formats:
A list of two coordinate pairs:
list(list(lon1, lat1), list(lon2, lat2))An
sfobject, which will be converted to a bounding box
- padding
The padding around the bounds in pixels. Default is 50.
- max_zoom
The maximum zoom level to set. Default is the object's
maxZoom.
