We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57b9fa3 commit 56843e2Copy full SHA for 56843e2
js/tracker.js
@@ -2207,8 +2207,7 @@ function mapInfoBox_handle_prediction(event) {
2207
mapInfoBox.setContent("<pre>" +
2208
formatDate(new Date(parseInt(data.time) * 1000), true) + "\n\n" +
2209
"<b>Altitude:</b> " + altitude + "\n" +
2210
- "<b>Latitude:</b> " + data.lat + "\n" +
2211
- "<b>Longitude:</b> " + data.lon + "\n" +
+ "<b>Location:</b> <a href='geo:" + data.lat.toFixed(5) + "," + data.lon.toFixed(5) + "'>" + data.lat.toFixed(5) + ", " + data.lon.toFixed(5) + "</a>\n" +
2212
event.target.pred_type +
2213
"</pre>"
2214
);
0 commit comments