forked from MapComplete/MapComplete
Merge develop
This commit is contained in:
commit
1b8eb10cac
4 changed files with 9 additions and 2 deletions
|
|
@ -926,6 +926,9 @@ export default class TagRenderingConfig {
|
|||
* Might give undefined if setting to unknown is not possible
|
||||
*/
|
||||
public removeToSetUnknown(partOfLayer: LayerConfig, currentTags: Record<string, string>): string[] | undefined {
|
||||
if(!partOfLayer?.source || !currentTags){
|
||||
return
|
||||
}
|
||||
const toDelete = new Set<string>()
|
||||
if (this.freeform) {
|
||||
toDelete.add(this.freeform.key)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue