From 98bb58cfe505885d773d31c71efc5fc7e6eececb Mon Sep 17 00:00:00 2001 From: cos Date: Wed, 16 May 2018 19:33:21 +0000 Subject: Convert speed without using non-reachable function --- api_openlayers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { '
'+ ((p.comments != null)?'
'+p.comments+'
':'')+ '
'+lang_time+': '+p.dateAdded+'
'+ - ((p.speed != null)?''+lang_speed+': '+(p.speed.toKmH()*factor_kmh)+' '+unit_kmh+'
':'')+ + ((p.speed != null)?''+lang_speed+': '+((p.speed)*Math.round(this*3600/10)/100*factor_kmh)+' '+unit_kmh+'
':'')+ ((p.altitude != null)?''+lang_altitude+': '+(p.altitude*factor_m).toFixed()+' '+unit_m+'
':'')+'
'+ ((latest==0)? ('
'+lang_ttime+': '+p.totalSeconds.toHMS()+'
'+ -- cgit v1.2.3