Fix: fix error reporting

This commit is contained in:
Pieter Vander Vennet 2025-05-12 12:19:14 +02:00
parent 7f5544c1e5
commit 913add4295
5 changed files with 48 additions and 43 deletions

View file

@ -3,7 +3,7 @@ import {
DataDrivenPropertyValueSpecification,
LayerSpecification,
Map as MlMap,
SymbolLayerSpecification,
SymbolLayerSpecification
} from "maplibre-gl"
import Locale from "../i18n/Locale"
import { Utils } from "../../Utils"
@ -1752,7 +1752,6 @@ export class ProtomapsLanguageSupport {
}
const newExpressionF = ProtomapsLanguageSupport.expressions[layer.id]
if (!newExpressionF) {
console.log(">>> No function found for", layer.id)
return
}
const newExpression = newExpressionF(language)