GEvent.addListener(marker, "dragend", function(position)
{
alert(position.lat() + ' ' +position.lng());
});
you should add this listener to the marker
best regards
On 2/23/11, [email protected] <[email protected]> wrote:
> On Feb 23, 1:02 am, Rami <[email protected]> wrote:
>> Hello,
>>
>> I´m trying to reach this feature: I need to recover marker´s position
>> after user dragging it... I understaind that I need to use the
>> listeners but, don´t know if after dragged the marker will have new
>> position... I´ve being thinking about use marker´s method
>> "getPostion()" after dragged... on a listener... Can anyone help me up
>> here, please??!!
>
> That sounds like v3. What problem are you having?
>
> Did you read the posting guidelines?
> http://groups.google.com/group/Google-Maps-API/web/suggested-posting-guidelines
> http://groups.google.com/group/google-maps-api/web/why-including-a-link-is-critical
>
> -- Larry
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Maps API V2" 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.
>
>
--
Marcelo Andrés Pinto Bravo
--
You received this message because you are subscribed to the Google Groups
"Google Maps API V2" 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.