From 975e180b2647266ca5ac0c1ffd4f10cae27b4d1b Mon Sep 17 00:00:00 2001 From: Tom Payne Date: Tue, 21 May 2013 12:52:47 +0200 Subject: [PATCH] Fix typo in ol.style.Icon --- src/ol/style/icon.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ol/style/icon.js b/src/ol/style/icon.js index b5fc255d20..2be1658c24 100644 --- a/src/ol/style/icon.js +++ b/src/ol/style/icon.js @@ -138,7 +138,7 @@ ol.style.Icon.prototype.createLiteral = function(feature) { goog.asserts.assertNumber(opacity, 'opacity must be a number'); var rotation = - /** {@type {number} */ (this.opacity_.evaluate(feature, attrs)); + /** {@type {number} */ (this.rotation_.evaluate(feature, attrs)); goog.asserts.assertNumber(rotation, 'rotation must be a number'); return new ol.style.IconLiteral({