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
+1 -13
View File
@@ -1,16 +1,4 @@
goog.provide('ol.style.Image');
goog.provide('ol.style.ImageState');
/**
* @enum {number}
*/
ol.style.ImageState = {
IDLE: 0,
LOADING: 1,
LOADED: 2,
ERROR: 3
};
/**
@@ -136,7 +124,7 @@ ol.style.Image.prototype.getHitDetectionImage = function(pixelRatio) {};
/**
* @abstract
* @return {ol.style.ImageState} Image state.
* @return {ol.ImageState} Image state.
*/
ol.style.Image.prototype.getImageState = function() {};