On Nov 1, 6:59 am, Robbie <[EMAIL PROTECTED]> wrote:
> This is my code

It would be better to post a link.

> I get the first new GLatLng but not the second... what do I do to get
> more than one line?

Follow the documentation. If you want two lines, you need to construct
and add two lines (individually).

GLatLng takes only two arguments, latitude and longitude. Your third
and fourth are ignored, so what you are doing is drawing one line
between -37.00756,174.78184 and 33.94308,-118.41648 (I guess: you
didn't provide a link to see what's going on).

You need to construct a polyline (say polyline1) with correct
GLatLngs, add it to the map; and then construct your second polyline
with correct GLatLngs and add that to the map.

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