Template:Fragoria Map

From FragoriaWiki

(Difference between revisions)
Jump to: navigation, search
Line 40: Line 40:
map.setMapTypeId('moon');
map.setMapTypeId('moon');
-
var marker = new google.maps.Marker({
+
var FragotownMarker = new google.maps.Marker({
position: new google.maps.LatLng(-89.62,66.4),
position: new google.maps.LatLng(-89.62,66.4),
map: map,
map: map,
Line 47: Line 47:
});
});
-
google.maps.event.addListener(myMarker, 'dragend', function(evt){
+
google.maps.event.addListener(FragotownMarker, 'dragend', function(evt){
     document.getElementById('current').innerHTML = '<p>Marker dropped: Current Lat: ' + evt.latLng.lat().toFixed(3) + ' Current Lng: ' + evt.latLng.lng().toFixed(3) + '</p>';
     document.getElementById('current').innerHTML = '<p>Marker dropped: Current Lat: ' + evt.latLng.lat().toFixed(3) + ' Current Lng: ' + evt.latLng.lng().toFixed(3) + '</p>';
});
});
-
google.maps.event.addListener(myMarker, 'dragstart', function(evt){
+
google.maps.event.addListener(FragotownMarker, 'dragstart', function(evt){
     document.getElementById('current').innerHTML = '<p>Currently dragging marker...</p>';
     document.getElementById('current').innerHTML = '<p>Currently dragging marker...</p>';
});
});

Revision as of 03:45, 5 April 2015

Fragoria Map

Coordinates

Personal tools
Date/Time
Server & Cross

Super-Cross Server