I have a simpler scheme from Mike's which is useful if you don't want
to save the coordinates, but merely want to post them in an
Infowindow:
GEvent.addListener(marker, "dragend", function() {
marker.openInfoWindowHtml('<b>Latitude: </b>'+ marker.getPoint().lat
().toFixed(6) +
'<br><b>Longitude: </b>'+ marker.getPoint().lng().toFixed(6));} );
Regards
Rg
On Aug 21, 8:19 pm, "Chalee.D" <[email protected]> wrote:
> Ok first of all sorry for my english :-)
> I need something like youtube Video location, that if you drag the
> marker it will automatically show the Latitude and Langtitude above
> google map, like this image below I attached (link), and if the User/
> Guest click the "Submit" button, it will save in the database, I hope
> my english is not bad :-)
>
> http://yfrog.com/3oautoclickj
>
> P.S And please explain a little bit, I'm still new about this :-)
> Thank you ~ Chalee
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---