gpstrek - Remove artififial limit for waypoints to draw

master
Martin Boonk 2023-05-27 16:59:02 +02:00
parent 408d57a5f0
commit f268596c19
1 changed files with 1 additions and 4 deletions

View File

@ -14,8 +14,7 @@ const SETTINGS = {
cacheMinFreeMem:2000,
cacheMaxEntries:0,
minCourseChange: 5,
waypointChangeDist: 50,
maxPoints: 50
waypointChangeDist: 50
};
let init = function(){
@ -482,8 +481,6 @@ let getMapSlice = function(){
toDraw = null;
}
if (!isMapOverview && Math.abs(data.i) > SETTINGS.maxPoints)
data.breakLoop = true;
if (!data.breakLoop){
prependTaskQueue(drawChunk, data, true);
}