Hi,
I have a problem with camera locks.
I am using Viewer API
Camera locks are applied correctly except for zoomIn.
There is no limit to it and I can zoom in as much as I like.
Interestingly, zoomOut blocks the camera properly.
Does anyone have an idea what the reason is?
this.sf.setCameraLookAt([-5,-7,2], [0, 0, 0.7]);
this.sf.setCameraConstraints({
"position": [
-5,
-7,
2
],
"target": [
0,
0,
0.7
],
"fov": 15,
"nearFarRatio": 0.005,
"useCameraConstraints": true,
"usePanConstraints": true,
"useZoomConstraints": true,
"usePitchConstraints": true,
"useYawConstraints": true,
"zoomIn": 7,
"zoomOut": 7.1,
"left": 1.6644929497966974,
"right": -1.6644929497966974,
"up": 1.555089,
"down": -0.14551434605270586
});
this.sf.setEnableCameraConstraints(true);