diff --git a/docroot/last/functions.js b/docroot/last/functions.js index 40a4aec..e0266cd 100644 --- a/docroot/last/functions.js +++ b/docroot/last/functions.js @@ -142,13 +142,15 @@ function map_marker(loc) lon: loc.lon, fulldate: dt.format("DD MMM YYYY HH:mm:ss"), facedata: loc.face, + vel: loc.vel, + cog: loc.cog, }; if (loc.addr) { - htmldesc = "{{userdev}}
{{addr}}
{{ghash}} ({{lat}},{{lon}}) {{fulldate}}"; + htmldesc = "{{userdev}}
{{addr}}
{{ghash}} ({{lat}},{{lon}}) v={{vel}}, c={{cog}} {{fulldate}}"; shortdesc = "{{{userdev}}} {{addr}}"; } else { - htmldesc = "{{userdev}}
{{lat}}, {{lon}}
{{ghash}} ({{lat}},{{lon}}) {{fulldate}}"; + htmldesc = "{{userdev}}
{{lat}}, {{lon}}
{{ghash}} ({{lat}},{{lon}}) v={{vel}}, c={{cog}} {{fulldate}}"; shortdesc = "{{{userdev}}} {{lat}},{{lon}}"; }