Template:Fragoria Map
From FragoriaWiki
(Difference between revisions)
| Line 154: | Line 154: | ||
zIndex: greendungeon[3] | zIndex: greendungeon[3] | ||
}); | }); | ||
| - | + | var contentString = "Content"; | |
| - | + | google.maps.event.addListener(marker, "click", function () { | |
| - | + | infowindow.setContent(this.html); | |
| - | + | infowindow.open(map, this); | |
| - | + | }); | |
} | } | ||
| - | |||
| - | |||
} | } | ||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
google.maps.event.addDomListener(window, 'load', initialize); | google.maps.event.addDomListener(window, 'load', initialize); | ||
Revision as of 23:46, 6 April 2015

