Stabilize popup

This commit is contained in:
Pieter Vander Vennet 2021-05-07 01:43:32 +02:00
parent 729f28fbf5
commit 292bad5df7
6 changed files with 74 additions and 45 deletions

View file

@ -162,9 +162,8 @@ export default class ShowDataLayer {
leafletLayer.on("popupopen", () => {
State.state.selectedElement.setData(feature)
});
this._popups.set(feature, leafletLayer);
}
private CreateGeojsonLayer(): L.Layer {