Use oriented rings where needed

This commit is contained in:
Tom Payne
2014-01-21 07:49:01 +01:00
parent 5b5865d48e
commit 6552046aa0
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -1096,7 +1096,7 @@ ol.render.canvas.PolygonReplay.prototype.drawPolygonGeometry =
state.miterLimit, state.lineDash]);
}
var ends = polygonGeometry.getEnds();
var flatCoordinates = polygonGeometry.getFlatCoordinates();
var flatCoordinates = polygonGeometry.getOrientedFlatCoordinates();
var stride = polygonGeometry.getStride();
this.drawFlatCoordinatess_(flatCoordinates, 0, ends, stride);
this.endGeometry(polygonGeometry, data);