diff options
author | Christian Pointner <equinox@ffgraz.net> | 2013-12-29 19:51:33 +0000 |
---|---|---|
committer | Christian Pointner <equinox@ffgraz.net> | 2013-12-29 19:51:33 +0000 |
commit | 95033078a4d4a10c01f63e07ecbe0953e81de8ba (patch) | |
tree | 70d93683f2ba556d39dd2161e48809126e8444cd /map3.js | |
parent | 02cfb11e7f137f9d0e187d4715662e939a208777 (diff) |
also print deciaml coordinates at show location
Diffstat (limited to 'map3.js')
-rw-r--r-- | map3.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -176,8 +176,8 @@ function onLocationClick(latlng) { var html = '<div class="locinfo">'; html += '<b>' + locations[this.locid].name + '</b>'; html += '<table class="locinfo">'; - html += '<tr><td>Breitengrad:</td><td> </td><td>' + convertCoords(locations[this.locid].point.lat()) + '</td></tr>'; - html += '<tr><td>Längengrad:</td><td> </td><td>' + convertCoords(locations[this.locid].point.lng()) + '</td></tr>'; + html += '<tr><td>Breitengrad:</td><td> </td><td><strong>' + convertCoords(locations[this.locid].point.lat()) + '</strong><br />' + locations[this.locid].point.lat().toFixed(6) + '</td></tr>'; + html += '<tr><td>Längengrad:</td><td> </td><td><strong>' + convertCoords(locations[this.locid].point.lng()) + '</strong><br />' + locations[this.locid].point.lng().toFixed(6) + '</td></tr>'; html += '<tr><td>Datenbank:</td><td> </td><td><a href="http://manman.graz.funkfeuer.at/location/show/' + this.locid + '" target="_blank">Link-Database</td></tr>'; html += '<tr><td>Smokeping:</td><td> </td><td><a href="http://stats.graz.funkfeuer.at/smokeping/?target=Funkfeuer.' + locations[this.locid].name + '" target="_blank">Link-Smokeping</td></tr>'; if(locations[this.locid].gallery_link) { |