From GamingWiki
Jump to: navigation, search
Line 186: Line 186:
  
 
function addRailways() {
 
function addRailways() {
var coords = new google.maps.MVCArray();
+
var coords = [
coords.push(new google.maps.LatLng(43.2524,-79.8047));
+
[-79.7588,43.2416],
coords.push(new google.maps.LatLng(43.2676,-79.8691));
+
[-79.7869,43.2482],
addPath(coords,'','');
+
[-79.8048,43.2524],
 +
[-79.8270,43.2576],
 +
[-79.8349,43.2595],
 +
[-79.8576,43.2648],
 +
[-79.8693,43.2676],
 +
[-79.8827,43.2707],
 +
[-79.8852,43.2721],
 +
[-79.8867,43.2738],
 +
[-79.8899,43.2787],
 +
[-79.8911,43.2843],
 +
[-79.8910,43.2852],
 +
[-79.8863,43.2929],
 +
[-79.8841,43.2950],
 +
[-79.8816,43.2965],
 +
[-79.8582,43.3110],
 +
[-79.8464,43.3183],
 +
[-79.8187,43.3352],
 +
[-79.8172,43.3353],
 +
[-79.8158,43.3348],
 +
[-79.8153,43.3338],
 +
[-79.8106,43.3289],
 +
[-79.8040,43.3229],
 +
[-79.8024,43.3214],
 +
[-79.8017,43.3203],
 +
[-79.8021,43.3192],
 +
[-79.8050,43.3170],
 +
[-79.8052,43.3163],
 +
[-79.8051,43.3152],
 +
[-79.8043,43.3136],
 +
[-79.8034,43.3119],
 +
[-79.8031,43.3100],
 +
[-79.7988,43.3025],
 +
[-79.7917,43.2901],
 +
[-79.7890,43.2853],
 +
[-79.7881,43.2813],
 +
[-79.7872,43.2766],
 +
[-79.7869,43.2757],
 +
[-79.7852,43.2735],
 +
[-79.7834,43.2723],
 +
[-79.7827,43.2714],
 +
[-79.7820,43.2708],
 +
[-79.7813,43.2699],
 +
[-79.7812,43.2693],
 +
[-79.7813,43.2687],
 +
[-79.7854,43.2665],
 +
[-79.7867,43.2655],
 +
[-79.7881,43.2626],
 +
[-79.7883,43.2623],
 +
[-79.7910,43.2615],
 +
[-79.7920,43.2615],
 +
[-79.7931,43.2609],
 +
[-79.7942,43.2583],
 +
[-79.7951,43.2579],
 +
[-79.7965,43.2575],
 +
[-79.7971,43.2571],
 +
[-79.7981,43.2550],
 +
[-79.7990,43.2545],
 +
[-79.8002,43.2546],
 +
[-79.8054,43.2568],
 +
[-79.8115,43.2587],
 +
[-79.8129,43.2589],
 +
[-79.8281,43.2635],
 +
[-79.8448,43.2673],
 +
[-79.8494,43.2682],
 +
[-79.8506,43.2681],
 +
[-79.8524,43.2676],
 +
[-79.8540,43.2666],
 +
[-79.8564,43.2650],
 +
[-79.8571,43.2648],
 +
[-79.8608,43.2662]
 +
];
 +
var corners = new google.maps.MVCArray();
 +
for (var pair in coords) {
 +
corners.push(new google.maps.LatLng(pair[0],pair[1]));
 +
}
 +
addPath(corners,'','');
 
}
 
}
  
 
// --></script>
 
// --></script>
 
</html>
 
</html>

Revision as of 16:53, 10 August 2011