var ilatlng = parent.platlng;
var geopos = new Array();
geopos = ilatlng.split(', ');
point = new GLatLng(geopos[0], geopos[1]);
marker = new GMarker(new GLatLng(geopos[0], geopos[1]));
alert(point);
alert(marker);
The alert for 'point' is correct and displays: (-33.83379, 151.22512)
The alert for 'marker' is incorrect, it displays: [Object Object]
No idea what I have done wrong...
Thanks!
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---