On Dec 9, 10:35 pm, Eric <haithiantay2...@gmail.com> wrote: > As request here is the link : > > http://tayhaithian.byethost2.com/asd.html
the dragend event listener works fine for me. http://www.geocodezip.com/tayhaithian_byethost2_com_asdB.html (your problem was how to read the position of the marker when it fired) -- Larry > > On Dec 10, 1:55 pm, "geocode...@gmail.com" <geocode...@gmail.com> > wrote: > > > > > On Dec 9, 7:26 pm, Eric <haithiantay2...@gmail.com> wrote: > > > > I try to trigger the listener to "Dragend" so I could actually locate > > > the lat,lng coordinate. But it seems don't work with my code. > > > You should be getting obvious javascript errors. > > > Please post a link to your map. > > > > Below is > > > the code I'm working with. > > > No thanks. > > > > document.getElementById("lat").innerHTML = latlng.lat(); > > > document.getElementById("lon").innerHTML = latlng.lng(); > > > I would expect you get a latlng is undefined error... > > > -- Larry- Hide quoted text - > > - Show quoted text - -- 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 google-maps-js-api...@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.