Clear loaded extents when a new loader is set

This commit is contained in:
ahocevar
2019-02-20 20:39:26 +01:00
parent f40cbf2cac
commit 8d1022046e

View File

@@ -991,6 +991,7 @@ class VectorSource extends Source {
* @api
*/
setLoader(loader) {
this.loadedExtentsRtree_.clear();
this.loader_ = loader;
}