3DTilesRendererJS icon indicating copy to clipboard operation
3DTilesRendererJS copied to clipboard

Handle Middle Click Drag for Environment Control

Open jo-chemla opened this issue 1 year ago • 1 comments

Following issue https://github.com/NASA-AMMOS/3DTilesRendererJS/issues/788 Handle Middle Click Drag for Environment Control

jo-chemla avatar Oct 07 '24 11:10 jo-chemla

Just got back home and tested it with a mouse - as you allude to in https://github.com/NASA-AMMOS/3DTilesRendererJS/issues/788, I'm seeing that the drag point shifts as you move the mouse around. This is probably because the "zoom direction" is getting reset in different conditions. Like when the pointer moves and the ellipsoid frame has been rotated.

These are both cases that are valid when using pinch-to-zoom on mobile, though (since you may move your fingers around to zoom to different spots) so we'll need to be careful to not break that case when addressing regenerating the zoom direction.

gkjohnson avatar Oct 09 '24 15:10 gkjohnson

Closing this for now - happy to get a version merged if we can get one going that doesn't break some of the existing zoom behavior.

gkjohnson avatar Mar 06 '25 04:03 gkjohnson