Allow source to be set after layer construction
This commit is contained in:
@@ -9,11 +9,12 @@ goog.require('ol.proj');
|
||||
|
||||
|
||||
/**
|
||||
* State of the source, one of 'loading', 'ready' or 'error'.
|
||||
* State of the source, one of 'undefined', 'loading', 'ready' or 'error'.
|
||||
* @enum {string}
|
||||
* @api
|
||||
*/
|
||||
ol.source.State = {
|
||||
UNDEFINED: 'undefined',
|
||||
LOADING: 'loading',
|
||||
READY: 'ready',
|
||||
ERROR: 'error'
|
||||
|
||||
Reference in New Issue
Block a user