Ensure endss is truncated if needed in ol.geom.flat.deflateCoordinatesss

This commit is contained in:
Tom Payne
2013-12-03 16:53:44 +01:00
parent b06ef0290c
commit 580f7d2022

View File

@@ -88,6 +88,7 @@ ol.geom.flat.deflateCoordinatesss =
endss[i++] = ends;
offset = ends[ends.length - 1];
}
endss.length = i;
return endss;
};