Fix bugs in LineStringReplay.
This commit is contained in:
@@ -1150,7 +1150,7 @@ ol.render.webgl.LineStringReplay.prototype.drawCoordinates_ = function(flatCoord
|
|||||||
numVertices = this.addVertices_([0, 0], p1, p2,
|
numVertices = this.addVertices_([0, 0], p1, p2,
|
||||||
-lastSign * ol.render.webgl.lineStringInstruction.BEGIN_LINE * (lineCap || 1), numVertices);
|
-lastSign * ol.render.webgl.lineStringInstruction.BEGIN_LINE * (lineCap || 1), numVertices);
|
||||||
|
|
||||||
lastIndex = n + 3;
|
lastIndex = numVertices / 7 - 1;
|
||||||
|
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user