Give ol.source.State its own file

This commit is contained in:
Frederic Junod
2016-08-31 11:38:44 +02:00
committed by Tim Schaub
parent 1d2e4fed4a
commit e757c014d1
2 changed files with 15 additions and 13 deletions

14
src/ol/source/state.js Normal file
View 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'
};