edmckee / google-maps-utility-library-v3

Automatically exported from code.google.com/p/google-maps-utility-library-v3
Apache License 2.0
0 stars 0 forks source link

keydragzoom - Touch screen support #273

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Demo link or sample code:
http://google-maps-utility-library-v3.googlecode.com/svn/tags/keydragzoom/2.0.5/
examples/visual.html

What steps will reproduce the problem?
1. Open link to example of visual functions on any touch device
2. Click on DragZoom icon (magnifier)
3. try to draw rectangle

Expected result:
See rectangle and zoom to it

Actual result:
No rectangle, no zoom.

Browser / Operating System:
Chrome for Android, Galaxy Note 10.1, Android Cyanogenmod 10.1

Additional comments:
There is no support for touch devices for DragZoom library

Original issue reported on code.google.com by hladi...@gmail.com on 21 Sep 2013 at 3:07

GoogleCodeExporter commented 9 years ago
KeyDragZoom is (in my opinion) unnecessary in a mobile environment due to the 
fact that google touch supports multi touch zooming.  Using two fingers, and 
spreading them apart slowly allows the user to zoom in on 1.) a specific point 
on the map, and 2.) gradually increase or decrease the zoom at will.  This is a 
more optimal interaction with the map over KeyDragZoom.

If you can provide a use case where the multi touch feature is not sufficient, 
I will take a second look at this.

Original comment by brett.mc...@gmail.com on 21 Sep 2013 at 6:26

GoogleCodeExporter commented 9 years ago
Hmmm, user case... That is simple. My boss want to have same behavior on 
desktop and tablet. I know this is weak, but I have to do it in his way...

Original comment by hladi...@gmail.com on 21 Sep 2013 at 9:29

GoogleCodeExporter commented 9 years ago
I understand.  As it stands though, the same functionality basically exists 
between tablet and desktop in that you can zoom at will via multi touch, which 
is quite similar to shift+drag mouse.

I don't think this is a feature we will add to keydragzoom at this time, but 
for your own implementation, you could add a button to the map that, when 
clicked, will turn on the key drag zoom functionality (i.e two taps will create 
a rectangular box.

Original comment by brett.mc...@gmail.com on 22 Sep 2013 at 3:05

GoogleCodeExporter commented 9 years ago
Yes, I want it exactly like that. Click on icon and do rectangle. Look on link 
in first post, it is example with button. But exactly this doesn't work.

Thaks for your time...

Original comment by hladi...@gmail.com on 22 Sep 2013 at 3:51