On Dec 9, 5:20 am, Mesh3L <[email protected]> wrote: > 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.
You could add a marker on click which pops up an infowindow containing a form that allows that point to be submitted to the database (you sure you don't want to send some other information along with the coordinates? Maybe a name or description?). You could also do something like John Coryat's (v2) pinpointaddress: http://maps.huge.info/pinpointaddress.htm -- Larry > > 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.
