Dedicated module for image state enum

This commit is contained in:
Tim Schaub
2016-12-27 09:02:02 -07:00
parent 549503bd2e
commit 63a8a5a2cc
13 changed files with 79 additions and 77 deletions

View File

@@ -11,7 +11,7 @@ goog.require('ol.events.EventType');
* @param {ol.Extent} extent Extent.
* @param {number|undefined} resolution Resolution.
* @param {number} pixelRatio Pixel ratio.
* @param {ol.Image.State} state State.
* @param {ol.ImageState} state State.
* @param {Array.<ol.Attribution>} attributions Attributions.
*/
ol.ImageBase = function(extent, resolution, pixelRatio, state, attributions) {
@@ -44,7 +44,7 @@ ol.ImageBase = function(extent, resolution, pixelRatio, state, attributions) {
/**
* @protected
* @type {ol.Image.State}
* @type {ol.ImageState}
*/
this.state = state;
@@ -102,7 +102,7 @@ ol.ImageBase.prototype.getResolution = function() {
/**
* @return {ol.Image.State} State.
* @return {ol.ImageState} State.
*/
ol.ImageBase.prototype.getState = function() {
return this.state;