We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2dc930f commit 0b87913Copy full SHA for 0b87913
js/webworkers/gpx-export-worker.js
@@ -23,8 +23,8 @@ onmessage = function (event) {
23
const numSatIndex = event.data.fieldNames.indexOf("GPS_numSat");
24
25
let trkpts = "";
26
- for (var chunk of event.data.frames) {
27
- for (var frame of chunk) {
+ for (const chunk of event.data.frames) {
+ for (const frame of chunk) {
28
if (!frame[latIndex] || !frame[lngIndex]) continue;
29
const timeMillis = Math.floor(frame[timeIndex] / 1000);
30
const lat = frame[latIndex] / 10000000;
0 commit comments