Hi,
I have the following code snippet...
GEvent.addListener(map, "dblclick", function(overlay, point)
{
var html = "";
html += "<input type='button' value='Save Position'
onclick='save_details(point.lat(), point.lng());'>
map.openInfoWindowHtml(point, html);
}
The problem here is that point.lat() and point.lng() gives an error
saying point is not defined... I understand the problem but I don't
know the solution...
How can I access the InfoWindow's position from the content HTML.???
this.point() didn't work either..
Any help would be much appreciated...
Thanks..
-g
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---