Thank you very much!
On Tue, Dec 15, 2009 at 5:18 PM, Chris Apolzon <[email protected]> wrote:
> You should hook into the dragend event and look at marker.getPosition().
>
> Here's a snippet taken from one of the code samples:
> google.maps.event.addListener(marker, "dragend",
> function() {
> for (var i=0, I = markers.length; i < I && markers[i] != marker;
> ++i);
> path.setAt(i, marker.getPosition());
> }
> );
> Obviously, this is taken from a polygon demo. If you only have points, you
> should be able to simply call marker.getPosition()
> On Tue, Dec 15, 2009 at 3:01 PM, [email protected] wrote:
>
> Hi There,
>
> The marker on the map can be set to be draggable. In my application, i
> allow user to move the marker to correct the place, but how do i
> remember this new place?
>
> Thanks,
>
> Wind
>
> --
>
> 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]<google-maps-js-api-v3%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-maps-js-api-v3?hl=en.
>
>
> --
> 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]<google-maps-js-api-v3%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-maps-js-api-v3?hl=en.
>
--
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.