AnsweredAssumed Answered

API 4.0 - SceneView gestureManager

Question asked by r.koenigmysynergis-esridist Employee on Nov 17, 2016

Is there any way to use connect to a gestureManager in a SceneView like in MapView?

Looks like SceneView has not gestureManager by default, so i initialized one using

new esri/views/inputs/GestureManager(SceneView)

 

I can then connect to the gestureManager and events are fired, but it's always giving me "hammer.input" events. Not e.g. "press", "tap" like in the MapView.

 

So my question is how to add and connect these events. Or is there any other way to detect a "press" event, e.g. for displaying a menu on touch devices.

Outcomes