Template:Fragoria Map
From FragoriaWiki
(Difference between revisions)
Line 119: | Line 119: | ||
]; | ]; | ||
- | + | /* function setMarkers(map, locations) { | |
var dungeonimage = { | var dungeonimage = { | ||
url: '/wiki/images/c/c3/Greendungeon.png', | url: '/wiki/images/c/c3/Greendungeon.png', | ||
Line 130: | Line 130: | ||
type: 'poly' | type: 'poly' | ||
}; | }; | ||
- | + | for (var i = 0; i < locations.length; i++) { | |
var dungeon = locations[i]; | var dungeon = locations[i]; | ||
var myLatLng = new google.maps.LatLng(dungeon[1], dungeon[2]); | var myLatLng = new google.maps.LatLng(dungeon[1], dungeon[2]); |
Revision as of 22:30, 6 April 2015