Fix bugs in LineStringReplay.

This commit is contained in:
GaborFarkas
2016-07-05 17:39:28 +02:00
parent f96a4a7301
commit 638b7752fa

View File

@@ -1150,7 +1150,7 @@ ol.render.webgl.LineStringReplay.prototype.drawCoordinates_ = function(flatCoord
numVertices = this.addVertices_([0, 0], p1, p2,
-lastSign * ol.render.webgl.lineStringInstruction.BEGIN_LINE * (lineCap || 1), numVertices);
lastIndex = n + 3;
lastIndex = numVertices / 7 - 1;
continue;
}