Add 'rendercomplete' event

This commit is contained in:
ahocevar
2018-08-21 17:29:10 +02:00
parent 3f98094d9d
commit 1baa8be269
11 changed files with 128 additions and 60 deletions

View File

@@ -66,6 +66,13 @@ class Source extends BaseObject {
*/
this.attributions_ = this.adaptAttributions_(options.attributions);
/**
* This source is currently loading data. Sources that defer loading to the
* map's tile queue never set this to `true`.
* @type {boolean}
*/
this.loading = false;
/**
* @private
* @type {module:ol/source/State}