forked from MapComplete/MapComplete
Fix: fix #1917
This commit is contained in:
parent
a368dfbe6c
commit
8c65448834
3 changed files with 20 additions and 5 deletions
|
@ -228,6 +228,10 @@ export default class MetaTagging {
|
|||
})
|
||||
return feats
|
||||
}
|
||||
if(!state.perLayer.get(layerId)){
|
||||
// This layer is not loaded
|
||||
return []
|
||||
}
|
||||
return [state.perLayer.get(layerId).GetFeaturesWithin(bbox)]
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue