Skip to content

Commit f68d147

Browse files
committed
Check overlap on focus
1 parent 467e3ac commit f68d147

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mapml/layers/FeatureIndex.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export var FeatureIndex = L.Layer.extend({
2222
this._title.innerHTML = "Feature Index";
2323
this._body = L.DomUtil.create("tbody", "mapml-feature-index-content", this._table);
2424
map.on("layerchange layeradd layerremove overlayremove", this._toggleEvents, this);
25-
map.on('moveend', this._checkOverlap, this);
25+
map.on('moveend focus', this._checkOverlap, this);
2626
this._addOrRemoveFeatureIndex();
2727
},
2828

0 commit comments

Comments
 (0)