Is it possible to use middle mouse button to rotate in SceneView?

577
2
Jump to solution
08-17-2017 02:35 AM
nie
by
New Contributor II

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? 

0 Kudos
1 Solution

Accepted Solutions
ThomasSolow
Occasional Contributor III

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.

View solution in original post

2 Replies
ThomasSolow
Occasional Contributor III

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.

nie
by
New Contributor II

Thanks! It works.

0 Kudos