Remove ol.style.ImageState and use ol.ImageState instead

This commit is contained in:
Frederic Junod
2016-08-29 09:55:48 +02:00
parent c393d43005
commit 1fecb6fd16
6 changed files with 25 additions and 37 deletions
+3 -3
View File
@@ -7,9 +7,9 @@ goog.require('ol.asserts');
goog.require('ol.color');
goog.require('ol.events');
goog.require('ol.events.EventType');
goog.require('ol.ImageState');
goog.require('ol.style.IconImage');
goog.require('ol.style.Image');
goog.require('ol.style.ImageState');
/**
@@ -113,10 +113,10 @@ ol.style.Icon = function(opt_options) {
6); // A defined and non-empty `src` or `image` must be provided
/**
* @type {ol.style.ImageState}
* @type {ol.ImageState}
*/
var imageState = options.src !== undefined ?
ol.style.ImageState.IDLE : ol.style.ImageState.LOADED;
ol.ImageState.IDLE : ol.ImageState.LOADED;
/**
* @type {ol.Color}