diff options
author | Christian Pointner <equinox@ffgraz.net> | 2013-12-29 19:07:40 +0000 |
---|---|---|
committer | Christian Pointner <equinox@ffgraz.net> | 2013-12-29 19:07:40 +0000 |
commit | 02cfb11e7f137f9d0e187d4715662e939a208777 (patch) | |
tree | d2e128c90c8d0326cf171e04f85c05b806f66e74 /map3.js | |
parent | 52fc2fb088d075a1c54433f517c7ee1a34a89a89 (diff) |
also printing deciaml form for lat/lng
Diffstat (limited to 'map3.js')
-rw-r--r-- | map3.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -528,10 +528,10 @@ function addNewNodeText(point) { var html = '<b>Neuen Knoten eintragen<br />Nutzen sie den Zoombereich aus!</b><br /><br />'; html += '<table width="100%">'; - html += '<tr><td>Breitengrad:</td><td> </td><td>' + convertCoords(point.lat()) + '</td><td> </td>'; + html += '<tr><td>Breitengrad:</td><td> </td><td><strong>' + convertCoords(point.lat()) + '</strong><br />' + point.lat().toFixed(6) + '</td><td> </td>'; html += '<td><form action="#" onsubmit="return false"><input type="button" value="hineinzoomen" '; html += 'onclick="javascript:centerAndZoom(' + point.lat() + ',' + point.lng() + ')" /></form></td></tr>'; - html += '<tr><td>Längengrad:</b></td><td> </td><td>' + convertCoords(point.lng())+ '</td><td> </td>'; + html += '<tr><td>Längengrad:</b></td><td> </td><td><strong>' + convertCoords(point.lng()) + '</strong><br />' + point.lng().toFixed(6) + '</td><td> </td>'; html += '<td><form action="#" onsubmit="return false"><input type="button" value="Standort eintragen" '; html += 'onclick="window.open(\'' + link + '\')" /></form></td></tr>'; html += '</table>'; |