From GamingWiki
Line 262: | Line 262: | ||
var corners = new google.maps.MVCArray(); | var corners = new google.maps.MVCArray(); | ||
for (var pair in coords) { | for (var pair in coords) { | ||
− | corners.push(new google.maps.LatLng(pair[ | + | corners.push(new google.maps.LatLng(pair[1],pair[0])); |
} | } | ||
addPath(corners,'',''); | addPath(corners,'',''); |
Revision as of 16:54, 10 August 2011