ViewportConstraints
Last updated
Was this helpful?
Last updated
Was this helpful?
The constraints for the viewport. Used to ensure that the viewport stays within certain bounds and zoom levels.
minZoom:
null
|number
The minimum zoom level for the viewport.
maxZoom:
null
|number
The maximum zoom level for the viewport.
bounds:
null
| [number
,number
,number
,number
]
The bounds for the viewport.