forked from FOSS/BangleApps
quick fix for last update - recorder now plots tracks ok
parent
a9b12f0dba
commit
8da09e3ea1
|
@ -276,8 +276,8 @@
|
||||||
if (l===undefined) return; // empty file?
|
if (l===undefined) return; // empty file?
|
||||||
var mp, c = l.split(",");
|
var mp, c = l.split(",");
|
||||||
var la=c.indexOf("Latitude"),lo=c.indexOf("Longitude");
|
var la=c.indexOf("Latitude"),lo=c.indexOf("Longitude");
|
||||||
if (la<0 || lb<0) return; // no GPS!
|
if (la<0 || lo<0) return; // no GPS!
|
||||||
l = f.readLine();
|
l = f.readLine();c=[];
|
||||||
while (l && !c[la]) {
|
while (l && !c[la]) {
|
||||||
c = l.split(",");
|
c = l.split(",");
|
||||||
l = f.readLine(f);
|
l = f.readLine(f);
|
||||||
|
|
Loading…
Reference in New Issue