Select to view content in your preferred language

API 4.0 - SceneView gestureManager

419
0
11-17-2016 01:13 AM
RomanKönig
Regular Contributor

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.

0 Kudos
0 Replies