kopia lustrzana https://github.com/FacilMap/facilmap
Lowering line resolution
rodzic
1faa500f10
commit
6941dd6f1e
|
@ -51,7 +51,7 @@ function prepareLineForBoundingBox(line, bbox) {
|
|||
|
||||
function prepareForBoundingBox(posList, bbox) {
|
||||
posList = _stripPointsOutsideBbox(posList, bbox);
|
||||
posList = _stripPointsToMinimumDistance(posList, bbox.resolution);
|
||||
posList = _stripPointsToMinimumDistance(posList, bbox.resolution*4);
|
||||
return posList;
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue