Template:Fragoria Map
From FragoriaWiki
(Difference between revisions)
Line 48: | Line 48: | ||
google.maps.event.addListener(FragotownMarker, 'dragend', function(evt){ | google.maps.event.addListener(FragotownMarker, 'dragend', function(evt){ | ||
- | document.getElementById('current').innerHTML = '<p>Marker dropped: | + | document.getElementById('current').innerHTML = '<p>Marker dropped: ( ' + evt.latLng.lat().toFixed(3) + ',' + evt.latLng.lng().toFixed(3) + ')</p>'; |
}); | }); | ||
Revision as of 03:52, 5 April 2015
Coordinates