From 2a6979e15a5c1efd1f93d73ca214b5520c84fd6a Mon Sep 17 00:00:00 2001 From: Tom Payne Date: Thu, 19 Dec 2013 16:25:57 +0100 Subject: [PATCH] ol.style.Image rotation is always defined --- src/ol/style/imagestyle.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ol/style/imagestyle.js b/src/ol/style/imagestyle.js index ddb5089401..9ed3d1b4b4 100644 --- a/src/ol/style/imagestyle.js +++ b/src/ol/style/imagestyle.js @@ -53,7 +53,7 @@ ol.style.Image = function(options) { /** * @private - * @type {number|undefined} + * @type {number} */ this.rotation_ = options.rotation; @@ -104,7 +104,7 @@ ol.style.Image.prototype.getImageState = function() { /** - * @return {number|undefined} Rotation. + * @return {number} Rotation. */ ol.style.Image.prototype.getRotation = function() { return this.rotation_;