Template:Fragoria Map

From FragoriaWiki

(Difference between revisions)
Jump to: navigation, search
Line 175: Line 175:
//Report Coordinates
//Report Coordinates
google.maps.event.addListener(FragotownMarker, 'dragend', function(evt){
google.maps.event.addListener(FragotownMarker, 'dragend', function(evt){
-
document.getElementById('current').innerHTML = '<p>Marker dropped: ( ' + evt.latLng.lat().toFixed(6) + ',' + evt.latLng.lng().toFixed(6) + ')</p>';
+
document.getElementById('current').innerHTML = '(' + evt.latLng.lat().toFixed(6) + ',' + evt.latLng.lng().toFixed(6) + ')</p>';
});
});
google.maps.event.addListener(FragotownMarker, '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>Locating...</p>';
});
});
}
}
Line 215: Line 215:
<body onload="initialize()">   
<body onload="initialize()">   
<center>
<center>
-
<div id="current">Coordinates</div>
+
<div id="current"></div>
<div style="box-shadow: 2px 2px 5px #999999;border: 1px solid black;width: 97%; height: 610px;background-image:url('/wiki/images/1/1f/Background.jpg');" id="map_canvas">
<div style="box-shadow: 2px 2px 5px #999999;border: 1px solid black;width: 97%; height: 610px;background-image:url('/wiki/images/1/1f/Background.jpg');" id="map_canvas">
</div>
</div>

Revision as of 14:42, 6 April 2015

Fragoria Map

Personal tools
Date/Time
Server & Cross

Super-Cross Server