Change ol.ImageState to ol.Image.State
This commit is contained in:
@@ -7,7 +7,7 @@ goog.require('ol.asserts');
|
||||
goog.require('ol.color');
|
||||
goog.require('ol.events');
|
||||
goog.require('ol.events.EventType');
|
||||
goog.require('ol.ImageState');
|
||||
goog.require('ol.Image');
|
||||
goog.require('ol.style.IconImage');
|
||||
goog.require('ol.style.Image');
|
||||
|
||||
@@ -113,10 +113,10 @@ ol.style.Icon = function(opt_options) {
|
||||
6); // A defined and non-empty `src` or `image` must be provided
|
||||
|
||||
/**
|
||||
* @type {ol.ImageState}
|
||||
* @type {ol.Image.State}
|
||||
*/
|
||||
var imageState = options.src !== undefined ?
|
||||
ol.ImageState.IDLE : ol.ImageState.LOADED;
|
||||
ol.Image.State.IDLE : ol.Image.State.LOADED;
|
||||
|
||||
/**
|
||||
* @type {ol.Color}
|
||||
|
||||
Reference in New Issue
Block a user