Cesium Custom Mouse Controls

148 views
Skip to first unread message

Umar Sharif

unread,
Oct 27, 2018, 10:20:25 AM10/27/18
to cesium-dev
I have a 3d tileset building model. I want to customize mouse control. 
1. Left mouse button: I want to pan only (up left down right).
2. Right mouse button: I want to rotate around model in view. If i am zoomed to a specific area of model, rotate around that part only. How to override mouse control and how will I achieve this.
3. scroll is very fast, how to slow it down with some smooth zooming.

 

Omar Shehata

unread,
Oct 30, 2018, 10:40:07 AM10/30/18
to cesium-dev
For the zoom speed, see this thread:


If you want to completely override the camera controls and create your own, check out the camera tutorial:


Hope this helps!
Reply all
Reply to author
Forward
0 new messages