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