> this is the URL of my
> cartehttp://www.logintunisia.com/extranet/buzzical/geo/googlemap/index.php
You have bad syntax -
point = new GLatLng(Lat,Lng);
...
mark = new GMarker(point.x,point.y);
GMarker wants a GLatLng as the first parameter; try
mark = new GMarker(point);
In your function -
function save()
{
var latlng= marker.getLatLng();
what is the value of 'marker' when the function runs?
Hint : you did define a 'marker' earlier, but it was in the local
scope of another function, and won't exist now.
You may need to define 'marker' in global scope.
http://econym.org.uk/gmap/scope.htm
cheers, Ross K
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---