From ddb4951d1855d748114b6fbe1f346ceec2d6fda9 Mon Sep 17 00:00:00 2001 From: Xun Li Date: Mon, 29 Apr 2024 16:53:53 -0700 Subject: [PATCH] Fix Map Layer Toggle for Label --- src/constants/src/default-settings.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/constants/src/default-settings.ts b/src/constants/src/default-settings.ts index a34275db5e..779e4301b8 100644 --- a/src/constants/src/default-settings.ts +++ b/src/constants/src/default-settings.ts @@ -203,7 +203,7 @@ export const BACKGROUND_LAYER_GROUP: DEFAULT_LAYER_GROUP = { export const DEFAULT_LAYER_GROUPS: DEFAULT_LAYER_GROUP[] = [ { slug: 'label', - filter: ({id}) => id.match(/(?=(label|place-|poi-))/), + filter: ({id}) => id.match(/(?=(label|place_|poi_))/), defaultVisibility: true, isVisibilityToggleAvailable: true, isMoveToTopAvailable: true,