ol.style.Image rotation is always defined

This commit is contained in:
Tom Payne
2013-12-19 16:25:57 +01:00
parent 491482870b
commit 2a6979e15a
+2 -2
View File
@@ -53,7 +53,7 @@ ol.style.Image = function(options) {
/** /**
* @private * @private
* @type {number|undefined} * @type {number}
*/ */
this.rotation_ = options.rotation; 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() { ol.style.Image.prototype.getRotation = function() {
return this.rotation_; return this.rotation_;