Give ol.source.State its own file
This commit is contained in:
committed by
Tim Schaub
parent
1d2e4fed4a
commit
e757c014d1
+1
-13
@@ -1,22 +1,10 @@
|
|||||||
goog.provide('ol.source.Source');
|
goog.provide('ol.source.Source');
|
||||||
goog.provide('ol.source.State');
|
|
||||||
|
|
||||||
goog.require('ol');
|
goog.require('ol');
|
||||||
goog.require('ol.Attribution');
|
goog.require('ol.Attribution');
|
||||||
goog.require('ol.Object');
|
goog.require('ol.Object');
|
||||||
goog.require('ol.proj');
|
goog.require('ol.proj');
|
||||||
|
goog.require('ol.source.State');
|
||||||
|
|
||||||
/**
|
|
||||||
* State of the source, one of 'undefined', 'loading', 'ready' or 'error'.
|
|
||||||
* @enum {string}
|
|
||||||
*/
|
|
||||||
ol.source.State = {
|
|
||||||
UNDEFINED: 'undefined',
|
|
||||||
LOADING: 'loading',
|
|
||||||
READY: 'ready',
|
|
||||||
ERROR: 'error'
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -0,0 +1,14 @@
|
|||||||
|
goog.provide('ol.source.State');
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* State of the source, one of 'undefined', 'loading', 'ready' or 'error'.
|
||||||
|
* @enum {string}
|
||||||
|
*/
|
||||||
|
ol.source.State = {
|
||||||
|
UNDEFINED: 'undefined',
|
||||||
|
LOADING: 'loading',
|
||||||
|
READY: 'ready',
|
||||||
|
ERROR: 'error'
|
||||||
|
};
|
||||||
|
|
||||||
Reference in New Issue
Block a user