Template:Fragoria Map
From FragoriaWiki
(Difference between revisions)
Line 66: | Line 66: | ||
google.maps.event.addListener(map, 'zoom_changed', function() { | google.maps.event.addListener(map, 'zoom_changed', function() { | ||
if (map.getZoom() < minZoomLevel) map.setZoom(minZoomLevel); | if (map.getZoom() < minZoomLevel) map.setZoom(minZoomLevel); | ||
+ | }); | ||
+ | |||
+ | var FragotownMarker = new google.maps.Marker({ | ||
+ | position: new google.maps.LatLng(-89.623848,33.001326), | ||
+ | map: map, | ||
+ | draggable:true, | ||
+ | title:"Fragotown" | ||
+ | }); | ||
+ | |||
+ | var DarkKonungMarker = new google.maps.Marker({ | ||
+ | position: new google.maps.LatLng(-89.128166,16.829451), | ||
+ | map: map, | ||
+ | icon: image, | ||
+ | shape: shape, | ||
+ | title:"Dark Konung's Tomb" | ||
}); | }); | ||
Line 89: | Line 104: | ||
type: 'poly' | type: 'poly' | ||
}; | }; | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
//Report Coordinates | //Report Coordinates | ||
Line 112: | Line 112: | ||
document.getElementById('current').innerHTML = '<p>Currently dragging marker...</p>'; | document.getElementById('current').innerHTML = '<p>Currently dragging marker...</p>'; | ||
}); | }); | ||
- | |||
} | } | ||
Revision as of 05:51, 5 April 2015
Coordinates