Hi,
Try
GEvent.addListener(marker, 'dragend', function(position) {
// position is a GLatLng containing the position of
// of where the marker was dropped
});
Kev.
On Nov 14, 3:24 am, KeyboardGeek <[EMAIL PROTECTED]> wrote:
> Earlier this week I found a tutorial that showed me how to get the
> Geocode for a given Postcode, and I got to thinking about giving the
> user the option to move the marker more precisely after centering on
> their chosen postcode (you know when it isn't accurate, and puts your
> postcode marker at the end of your street and not in the middle where
> it should be, just on your doorstep). So I searched around and put my
> findings into this example:
>
> http://mytubestop.com/add_marker_test.php (shows the example and
> gives you the source code)
>
> One of the problems I came up against was getting the lat and lng
> values after the Dragend event (lots of examples on the web, but all
> over complicated). Which is really why I'm putting this article up,
> as I've noticed many people asking how to do this.
>
> My site demo is built on a tutorial I found, you can see the details
> on the site.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---