Template:Fragoria Map
From FragoriaWiki
(Difference between revisions)
Line 68: | Line 68: | ||
setMarkers (map, dungeons); | setMarkers (map, dungeons); | ||
- | var | + | var marker = new google.maps.Marker({ |
position: new google.maps.LatLng(-89.623848,33.001326), | position: new google.maps.LatLng(-89.623848,33.001326), | ||
map: map, | map: map, | ||
Line 176: | Line 176: | ||
}); | }); | ||
- | google.maps.event.addListener( | + | google.maps.event.addListener(marker, 'click', function() { |
- | infowindow.open(map, | + | infowindow.open(map,marker); |
}); | }); | ||
Revision as of 22:53, 6 April 2015