Closed insertmike closed 1 year ago
You can set the camera's scale bounds as follows:
scatterplot.get('camera').setScaleBounds([1, 10]);
See https://github.com/flekschas/dom-2d-camera#api and https://github.com/flekschas/camera-2d#api for the camera API docs
It would be very nice if we can provide
scaleBounds
argument to camera, to limit the zoom-in and out.