← Back to context Comment by amelius 10 days ago Can you add pinch zoom? 6 comments amelius Reply coolwulf 10 days ago Currently I developed this for desktop browser, so it might not work well on mobile. But I will improve and update it. pohl 10 days ago You should be able to do pinch zoom support for laptops with a trackpad, too. I think it would bewindow.addEventListener('wheel', ... )Fantastic work! amelius 10 days ago Ok, I'm on desktop now. And I notice another "issue". When I use my mouse wheel to zoom, the point that my mouse cursor is on is not stationary. This makes it hard to zoom in on e.g. a specific aircraft or landmark. coolwulf 10 days ago I can take a look. The current zoom is zooming to screen center. Maybe I should change it to cursor location. 2 replies →
coolwulf 10 days ago Currently I developed this for desktop browser, so it might not work well on mobile. But I will improve and update it. pohl 10 days ago You should be able to do pinch zoom support for laptops with a trackpad, too. I think it would bewindow.addEventListener('wheel', ... )Fantastic work! amelius 10 days ago Ok, I'm on desktop now. And I notice another "issue". When I use my mouse wheel to zoom, the point that my mouse cursor is on is not stationary. This makes it hard to zoom in on e.g. a specific aircraft or landmark. coolwulf 10 days ago I can take a look. The current zoom is zooming to screen center. Maybe I should change it to cursor location. 2 replies →
pohl 10 days ago You should be able to do pinch zoom support for laptops with a trackpad, too. I think it would bewindow.addEventListener('wheel', ... )Fantastic work!
amelius 10 days ago Ok, I'm on desktop now. And I notice another "issue". When I use my mouse wheel to zoom, the point that my mouse cursor is on is not stationary. This makes it hard to zoom in on e.g. a specific aircraft or landmark. coolwulf 10 days ago I can take a look. The current zoom is zooming to screen center. Maybe I should change it to cursor location. 2 replies →
coolwulf 10 days ago I can take a look. The current zoom is zooming to screen center. Maybe I should change it to cursor location. 2 replies →
Currently I developed this for desktop browser, so it might not work well on mobile. But I will improve and update it.
You should be able to do pinch zoom support for laptops with a trackpad, too. I think it would be
window.addEventListener('wheel', ... )
Fantastic work!
Ok, I'm on desktop now. And I notice another "issue". When I use my mouse wheel to zoom, the point that my mouse cursor is on is not stationary. This makes it hard to zoom in on e.g. a specific aircraft or landmark.
I can take a look. The current zoom is zooming to screen center. Maybe I should change it to cursor location.
2 replies →