Ensure endss is truncated if needed in ol.geom.flat.deflateCoordinatesss
This commit is contained in:
@@ -88,6 +88,7 @@ ol.geom.flat.deflateCoordinatesss =
|
|||||||
endss[i++] = ends;
|
endss[i++] = ends;
|
||||||
offset = ends[ends.length - 1];
|
offset = ends[ends.length - 1];
|
||||||
}
|
}
|
||||||
|
endss.length = i;
|
||||||
return endss;
|
return endss;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user