gpstrek - Remove artififial limit for waypoints to draw
parent
408d57a5f0
commit
f268596c19
|
|
@ -14,8 +14,7 @@ const SETTINGS = {
|
||||||
cacheMinFreeMem:2000,
|
cacheMinFreeMem:2000,
|
||||||
cacheMaxEntries:0,
|
cacheMaxEntries:0,
|
||||||
minCourseChange: 5,
|
minCourseChange: 5,
|
||||||
waypointChangeDist: 50,
|
waypointChangeDist: 50
|
||||||
maxPoints: 50
|
|
||||||
};
|
};
|
||||||
|
|
||||||
let init = function(){
|
let init = function(){
|
||||||
|
|
@ -482,8 +481,6 @@ let getMapSlice = function(){
|
||||||
toDraw = null;
|
toDraw = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!isMapOverview && Math.abs(data.i) > SETTINGS.maxPoints)
|
|
||||||
data.breakLoop = true;
|
|
||||||
if (!data.breakLoop){
|
if (!data.breakLoop){
|
||||||
prependTaskQueue(drawChunk, data, true);
|
prependTaskQueue(drawChunk, data, true);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue