Give ol.source.State its own file
This commit is contained in:
committed by
Tim Schaub
parent
1d2e4fed4a
commit
e757c014d1
@@ -1,22 +1,10 @@
|
||||
goog.provide('ol.source.Source');
|
||||
goog.provide('ol.source.State');
|
||||
|
||||
goog.require('ol');
|
||||
goog.require('ol.Attribution');
|
||||
goog.require('ol.Object');
|
||||
goog.require('ol.proj');
|
||||
|
||||
|
||||
/**
|
||||
* State of the source, one of 'undefined', 'loading', 'ready' or 'error'.
|
||||
* @enum {string}
|
||||
*/
|
||||
ol.source.State = {
|
||||
UNDEFINED: 'undefined',
|
||||
LOADING: 'loading',
|
||||
READY: 'ready',
|
||||
ERROR: 'error'
|
||||
};
|
||||
goog.require('ol.source.State');
|
||||
|
||||
|
||||
/**
|
||||
|
||||
14
src/ol/source/state.js
Normal file
14
src/ol/source/state.js
Normal file
@@ -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