From 2b1266aa18e2f3c58ff1cc8ebd3e24d475e9af42 Mon Sep 17 00:00:00 2001 From: chenxianhui Date: Mon, 22 Apr 2024 14:30:33 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=AF=E6=84=9F=E7=9F=A5=E5=9B=BE=E5=B1=82vi?= =?UTF-8?q?sible=E6=94=B9=E4=B8=BA=E5=B8=83=E5=B0=94=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/mapboxgl/web-map/WebMapV2.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mapboxgl/web-map/WebMapV2.ts b/src/mapboxgl/web-map/WebMapV2.ts index 99358aa9..b7e2e176 100644 --- a/src/mapboxgl/web-map/WebMapV2.ts +++ b/src/mapboxgl/web-map/WebMapV2.ts @@ -2202,7 +2202,7 @@ export default class WebMap extends WebMapBase { dataSource: dataSource || { serverId }, title: name, themeSetting, - visible, + visible: visible === 'visible', renderSource: {}, renderLayers: [] };