Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It's not working on iOS device #7

Open
herry13 opened this issue Oct 4, 2014 · 2 comments
Open

It's not working on iOS device #7

herry13 opened this issue Oct 4, 2014 · 2 comments

Comments

@herry13
Copy link

herry13 commented Oct 4, 2014

Hi, thank you for this fantastic plugin.

Recently, I tested the plugin using iPad (iOS 7), and it's not working. Whenever the button was clicked, no magnifying glass existed on the map. I wonder whether you have any clue about the source of this problem.

@bbecquet
Copy link
Owner

bbecquet commented Oct 7, 2014

Hi, and thanks for your interest in my plugin.

I don't have any iPad to test this, but I guess it's the same as with my Android tablet. The magnifying glass doesn't appear because for now it's only tied to mousemove events, which don't exist on touch devices.
For touch devices, it should use other means of interactions based on tap, long touch, etc, but I haven't actually thought about what is the best yet.

To help me, can you tell me what is the behavior you were expecting?

@herry13
Copy link
Author

herry13 commented Oct 9, 2014

@bbecquet I understand that there is no mousemove events on touch devices. However, I expect particular behaviour on touch devices. For example, when users touch the device (touchstart), then the mag-glass will be shown. When they move their finger (touchmove), the mag-glass will follow its movement. Finally, when they pull their finger (touchend), the mag-glass will be hidden. This behaviour is similar when you're using magnifying glass iOS-feature on iPhone or iPad.

I know it's quite complex. But it will be great if this behaviour can be implemented. And I think many people want this feature as well.

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

No branches or pull requests

2 participants