From fd333cc1b677568385ba4451d55ca832c25376a3 Mon Sep 17 00:00:00 2001 From: Brandon Liu Date: Thu, 19 Oct 2023 12:44:49 -0400 Subject: [PATCH] maplibre inspector stringifies boolean values [#270] (#271) --- app/src/MaplibreMap.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/src/MaplibreMap.tsx b/app/src/MaplibreMap.tsx index a4f7b55..5041118 100644 --- a/app/src/MaplibreMap.tsx +++ b/app/src/MaplibreMap.tsx @@ -85,7 +85,9 @@ const FeaturesProperties = (props: { features: MapGeoJSONFeature[] }) => { {Object.entries(f.properties).map(([key, value], i) => ( {key} - {value} + + {typeof value === "boolean" ? JSON.stringify(value) : value} + ))}