ol.style.Image rotation is always defined
This commit is contained in:
1 parent
491482870b
commit
2a6979e15a
1 file changed
+2
-2
@@ -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_;
|
||||
|
||||
Reference in new issue
Block a user