On Jun 24, 9:35 pm, Dave_Tenen <[email protected]> wrote:
> 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]));

Why aren't you using new GMarker(point); ?

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

Why do you say that (what do you expect it to say)?  A GMarker is a
javascript object.

  -- Larry

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

Reply via email to