Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

Added touch support and partial pinch zoom support #47

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gavJackson
Copy link

Can now interact with the globe on a touch device using simple gestures to manipulate the globe. I implemented mouse event simulation triggered by touch events (like how jquery touch punch works).

I also attempted to implement pinch zooming, which works well in Android but not so well in iOS (due to Safari having weird inbuilt gestures to see an expose of tabs) - so the pinch zooming is off by default, but can be turned on through opts.pinchZoomEnabled=true

…haves in safari so its off by default but can be turned on by the opts). Tested in Safari iPad2 and Chrome in Galaxy S4
@texastoast33
Copy link

+1 I need dis

@oshopgiri
Copy link

It works magic 👍
Thank a ton @gavJackson

@CollioPHP
Copy link

CollioPHP commented Mar 11, 2019

I feel this needs a push and someone with an ios device should test thisagain. After this years it should work :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants