Hi there

I'm building a mobile application that involves routing. I would like to 
allow users to set markers on a map with a long-click (aka taphold, aka 
click and hold for >500ms) event.

You can see the interface here: 
http://cyclestreets.darkgreener.com/route.html

Currently I set markers on the 'dblclick' event: I previously used 'click' 
but found the usability was poor as it was much too easy to set markers 
accidentally, just by touching the screen as you moved the phone in your 
hands. 

Is there a way I could approximate a long-click event in the Google Maps v3 
API? Perhaps doing something clever with timers? 

Long-click seems like a very handy event for mobile users, so it would be a 
great addition to the API. 

many thanks
Anna

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/bnBvOFFDeGNKRDBK.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to