We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72f9df9 commit 55206a0Copy full SHA for 55206a0
src/leaflet/components/search/SearchView.js
@@ -664,6 +664,9 @@ export var SearchView = ComponentsViewBase.extend({
664
this.map.closePopup();
665
//若当前是查询图层的结果,则不删除图层,只修改样式
666
!this.isSearchLayer && this.map.removeLayer(this.searchResultLayer);
667
+ this.searchResultLayer.eachLayer((layer) => {
668
+ layer.off('click');
669
+ });
670
if (this._selectMarkerFeature) {
671
this.map.removeLayer(this._selectMarkerFeature);
672
this.isSearchLayer && this._selectFeature.addTo(this.map);
0 commit comments