summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xapi_openlayers.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/api_openlayers.js b/api_openlayers.js
index 2383582..802c5da 100755
--- a/api_openlayers.js
+++ b/api_openlayers.js
@@ -164,7 +164,7 @@ function setMarker(p,i,posLen) {
'<div id="pbody">'+
((p.comments != null)?'<div id="pcomments">'+p.comments+'</div>':'')+
'<div id="pleft"><b>'+lang_time+':</b> '+p.dateAdded+'<br />'+
- ((p.speed != null)?'<b>'+lang_speed+':</b> '+(p.speed.toKmH()*factor_kmh)+' '+unit_kmh+'<br />':'')+
+ ((p.speed != null)?'<b>'+lang_speed+':</b> '+((p.speed)*Math.round(this*3600/10)/100*factor_kmh)+' '+unit_kmh+'<br />':'')+
((p.altitude != null)?'<b>'+lang_altitude+':</b> '+(p.altitude*factor_m).toFixed()+' '+unit_m+'<br />':'')+'</div>'+
((latest==0)?
('<div id="pright"><b>'+lang_ttime+':</b> '+p.totalSeconds.toHMS()+'<br />'+