I'm developing a web app using SceneView and found that the right mouse button has been used to draw gesture by default in some browsers. So is it possible to use middle mouse button to rotate, just like the ArcGIS Pro, or the preferences provided in ArcGIS Portal scene viewer?
Solved! Go to Solution.
You can do it like this in 4.4:
view.inputManager.mode = 'pro';
Doesn't look like the inputManager is documented yet. In 'pro' mode, the right mouse button is zoom in/out if you drag the mouse while it's held down.
You can do it like this in 4.4:
view.inputManager.mode = 'pro';
Doesn't look like the inputManager is documented yet. In 'pro' mode, the right mouse button is zoom in/out if you drag the mouse while it's held down.
Thanks! It works.