Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Add geo link to burst/landing locations
  • Loading branch information
Mark Jessop authored and Mark Jessop committed Oct 3, 2022
commit 56843e208127c4b23e2ae19ab81b98e3abc32c9a
3 changes: 1 addition & 2 deletions js/tracker.js
Original file line number Diff line number Diff line change
Expand Up @@ -2207,8 +2207,7 @@ function mapInfoBox_handle_prediction(event) {
mapInfoBox.setContent("<pre>" +
formatDate(new Date(parseInt(data.time) * 1000), true) + "\n\n" +
"<b>Altitude:</b> " + altitude + "\n" +
"<b>Latitude:</b> " + data.lat + "\n" +
"<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" +
event.target.pred_type +
"</pre>"
);
Expand Down