Remove opt_this param in ol/structs/RBush

This commit is contained in:
Frederic Junod
2019-04-08 13:16:11 +02:00
parent 077afac90a
commit 617dd9f031
2 changed files with 10 additions and 16 deletions

View File

@@ -485,7 +485,7 @@ class VectorSource extends Source {
}
} else {
if (this.featuresRtree_) {
this.featuresRtree_.forEach(this.removeFeatureInternal, this);
this.featuresRtree_.forEach(this.removeFeatureInternal.bind(this));
for (const id in this.nullGeometryFeatures_) {
this.removeFeatureInternal(this.nullGeometryFeatures_[id]);
}