Allow source to be set after layer construction

This commit is contained in:
Tim Schaub
2014-10-23 09:24:03 -06:00
parent c06774acb5
commit d712b2ba54
12 changed files with 157 additions and 15 deletions

View File

@@ -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'