>         var points = [];
'points' is an array

>                 var marker = createMarker(points);
You pass the array to createMarker()

>   var marker = new GMarker(point);
GMarker expects to given one GLatLng, not an array of anything.

Change
    var marker = createMarker(points);
to
    var marker = createMarker(latlon);

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