From 4f6838aa6ddc994cb5aa8cc1be80a9c2c52bd1d0 Mon Sep 17 00:00:00 2001 From: Max Kohler Date: Thu, 11 Jun 2026 13:16:18 +0200 Subject: [PATCH] explicitely cast hoehe to number --- components/src/maplibre/MapStyle/components/Buildings.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/src/maplibre/MapStyle/components/Buildings.ts b/components/src/maplibre/MapStyle/components/Buildings.ts index 456e367b..992eb302 100644 --- a/components/src/maplibre/MapStyle/components/Buildings.ts +++ b/components/src/maplibre/MapStyle/components/Buildings.ts @@ -9,7 +9,7 @@ export default function makeBuildings(tokens): any { paint: { 'fill-extrusion-color': tokens.building, 'fill-extrusion-opacity': ['interpolate', ['linear'], ['zoom'], 14.5, 0, 15, 1], - 'fill-extrusion-height': ['interpolate', ['linear'], ['zoom'], 14.5, 0, 15, ['get', 'hoehe']] + 'fill-extrusion-height': ['interpolate', ['linear'], ['zoom'], 14.5, 0, 15, ["to-number", ['get', 'hoehe']]] } };