n Jul 22, 11:39 am, behi hoseini <[email protected]> wrote: > Dear Esa, > well, I have already tried this .the point is that I don't want to create > a NEW Lat-Long by dragging the marker.
Then don't. Associate each marker with specific cells in the table and only update them when it is dragged (like the example you linked to does). -- Larry > I just want to modify and set the > existing markes' Lat/Long in the table by any changes on the map.(what > happening now is creating a new station No, Lat/Long in the table by > dragging the existing marker) > I am not sure it is possible or not ! but as you can see in the sample site > which I have already posted to you, we can keep tracking of any changes, so > I think we should be able to update our location's Lat/Long in the table by > changing the relative markers > Best regards, > Behrouz > > On Wed, Jul 22, 2009 at 11:03 AM, Esa <[email protected]> wrote: > > > Add a 'dragend' event listener to the marker. > > > GEvent.addListener(marker, 'dragend', function(){ > > geocoder.getLocations(marker.getLatLng(), showAddress) > > }); > > > Add that just after the lines discussed earlier. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" 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-API?hl=en -~----------~----~----~----~------~----~------~--~---
