Disable standard scene navigation

566
1
11-09-2019 07:51 AM
AlexanderKulikov
New Contributor II

Hi!

Is it possible in Runtime SDK for Android 100.6 to turn off the standard gesture navigation in Scene?

0 Kudos
1 Reply
by Anonymous User
Not applicable

Hi Alexander,

The best way to do this in Android is to return true from the touch listener `mSceneView.setOnTouchListener((v, event) -> true);`

It's the MapView/SceneView rather than the Map/Scene which handles touch events from the user. Think of the MapView/SceneView as a window onto your Map/Scene.

Hope this helps!

Trevor

0 Kudos