jeah that did it. Mhh strange I missid it but really thanks
Mart Pluijmaekers On Feb 9, 3:02 am, "[email protected]" <[email protected]> wrote: > On Feb 8, 12:26 pm, Tuup <[email protected]> wrote:> Hi there, > > > Im trying to get the api to place some markers on the map using an > > array, but somehow the api won't do it, i suspect is has something to > > do with the syntax. > > if you ask why i have all those list.push in there it is to try to get > > arround the problem. > > Eventually im gonna let a php script fill the data in so it doesn't > > really matter how i create the array. > > > the link:http://phoenixtest.site40.net/test/create_questions.html > > > P.S. this is a slimmed down version of the actual script, this one > > only has the code which is of concern. (and sorry for my rubbish > > english I'm dutch) > > A GMarker takes a GLatLng as its first argument. > > A GPolyline takes an array of GLatLng > > list2.push((1, 1)); > should be > list2.push(new GLatLng(1,1)); > > -- Larry --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
