On Apr 1, 1:10 pm, Ashwin <[email protected]> wrote: > > Is it possible
Yes, everything is possible. > to add a landmark name say some shop name or building > name (as in google earth) over the google map (API V3). > > I should be able to enter a place / shop name after right clicking on > that place in map. Just add an event handler for the 'rightclick' event on the map object, and when it fires, pop up an infowindow containing a form in which the user can input the desired information. When the user submits that form, create a custom overlay at the lat/lon that the click took place, with the desired text. > I also want to know the latitude and longitude of > that place The lat/lon is passed to your event handler in a MouseEvent object: http://code.google.com/apis/maps/documentation/v3/reference.html#MouseEvent > along with the user entered place /shop details to store in > my database. Then send any information you want to save to your server side script in an Ajax call. -- Marcelo - http://maps.forum.nu -- > > How to achieve this? > > With regards, > Aemunathan -- 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.
