summaryrefslogtreecommitdiff
path: root/api_openlayers.js
diff options
context:
space:
mode:
Diffstat (limited to 'api_openlayers.js')
-rwxr-xr-xapi_openlayers.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/api_openlayers.js b/api_openlayers.js
index 7795a5b..3fa08fe 100755
--- a/api_openlayers.js
+++ b/api_openlayers.js
@@ -116,7 +116,7 @@ function displayTrack(xml,update) {
map.zoomOut();
}
}
- latestTime = p.dateoccured;
+ latestTime = p.dateAdded;
//polies.push(poly);
updateSummary(p.dateoccured,totalMeters,totalSeconds);
@@ -163,7 +163,7 @@ function setMarker(p,i,posLen) {
'</div>'+
'<div id="pbody">'+
((p.comments != null)?'<div id="pcomments">'+p.comments+'</div>':'')+
- '<div id="pleft"><b>'+lang_time+':</b> '+p.dateoccured+'<br />'+
+ '<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.altitude != null)?'<b>'+lang_altitude+':</b> '+(p.altitude*factor_m).toFixed()+' '+unit_m+'<br />':'')+'</div>'+
((latest==0)?