Thank you all for the replies.

What I'm trying to do is to give the user the ability to chose a
specific place on the map, mark it ( which event is best to chose for
marking? ) and than submit it to the database. The submitted data will
be the Latlng value.

On Dec 9, 11:44 am, Rossko <[email protected]> wrote:
> > For a second thought, isn't this going to return every click on the map?
>
> Yes.
>
> > It's impossible to figure which click is when the user want to pick a 
> > particular spot.
>
> I'm not sure what you mean.  Are you expecting your users to click
> over the map at random places, in addition to clicking a point for
> selection?  Is this about only acting on clicks within a certain area,
> or clicks on a particular marker?
>
> > Can we trigger the function if the click for example last for 2 seconds ?
>
> API map doesn't support mousedown/mouseup events which you could
> time ; there may be some way to do it using browser events.
>
> > What are other solutions for this case does the API offer?
>
> Not sure what your case is ?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
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