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

Revision as of 17:19, 10 August 2011