Merge develop

This commit is contained in:
Pieter Vander Vennet 2024-09-06 23:02:17 +02:00
commit 1b8eb10cac
4 changed files with 9 additions and 2 deletions

View file

@ -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)