Template:Fragoria Map

From FragoriaWiki

(Difference between revisions)
Jump to: navigation, search
Line 141: Line 141:
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]);
-
var marker = new google.maps.Marker({
+
var dungeon[0] = new google.maps.Marker({
position: myLatLng,
position: myLatLng,
map: map,
map: map,
Line 176: Line 176:
   });
   });
-
   google.maps.event.addListener(marker, 'click', function() {
+
   google.maps.event.addListener(dungeon[0], 'click', function() {
-
     infowindow.open(map,marker);
+
     infowindow.open(map,dungeon[0]);
   });
   });

Revision as of 22:51, 6 April 2015

Fragoria Map

 

Personal tools
Date/Time
Server & Cross

Super-Cross Server