On Nov 27, 10:48 pm, Eran <[EMAIL PROTECTED]> wrote:

>
>  GEvent.addListener(map, "click", function(latlng) {
>         var marker = new GMarker(latlng);
>         map.addOverlay(marker);
>

It is the second parameter of the function that returns the clicked
point.
http://code.google.com/apis/maps/documentation/reference.html#GMap2.Events

  GEvent.addListener(map, "click", function(first, latlng) {
         var marker = new GMarker(latlng);
         map.addOverlay(marker);

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to