Merge pull request #1739 from twpayne/rotate-with-map

Allow icons to be rotated with the map
This commit is contained in:
Tom Payne
2014-02-24 13:06:48 +01:00
10 changed files with 119 additions and 65 deletions

View File

@@ -139,7 +139,7 @@ ol.source.ImageVector.prototype.canvasFunctionInternal_ =
var transform = this.getTransform_(ol.extent.getCenter(extent),
resolution, pixelRatio, size);
replayGroup.replay(this.canvasContext_, extent, pixelRatio, transform,
replayGroup.replay(this.canvasContext_, extent, pixelRatio, transform, 0,
goog.functions.TRUE);
this.replayGroup_ = replayGroup;