forked from MapComplete/MapComplete
Some work on stabilizing the popups, WIP
This commit is contained in:
parent
8f8ef690a4
commit
1f4b06ae55
5 changed files with 55 additions and 44 deletions
|
@ -40,6 +40,10 @@ export default class SelectedFeatureHandler {
|
|||
if(features === undefined){
|
||||
return;
|
||||
}
|
||||
if(this._selectedFeature.data?.properties?.id === this._hash.data){
|
||||
// Feature already selected
|
||||
return;
|
||||
}
|
||||
for (const feature of features) {
|
||||
const id = feature.feature?.properties?.id;
|
||||
if(id === this._hash.data){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue