This is my code
<script type="text/javascript">
//<![CDATA[
function load() {
if (GBrowserIsCompatible()) {
var map = new GMap2(document.getElementById("map"));
map.setCenter(new GLatLng(37.4419, -122.1419), 1);
var polyline = new GPolyline([
new GLatLng(-37.00756, 174.78184, 33.94308, -118.41648),
new GLatLng(33.94308, -118.41648, 40.77407, -73.87216)
], "#ff0000", 2);
map.addOverlay(polyline);
}
}
//]]>
</script>
I get the first new GLatLng but not the second... what do I do to get
more than one line?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---