From d2c10334c10eccaa74bec9d2ded66b972d468cbf Mon Sep 17 00:00:00 2001 From: Daniel Koch Date: Mon, 1 Aug 2022 16:53:35 +0200 Subject: [PATCH] fix: set useBearerToken as property of the layer --- src/parser/SHOGunApplicationUtil.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/parser/SHOGunApplicationUtil.ts b/src/parser/SHOGunApplicationUtil.ts index 2bce2e4dc..0d179ca27 100644 --- a/src/parser/SHOGunApplicationUtil.ts +++ b/src/parser/SHOGunApplicationUtil.ts @@ -399,6 +399,7 @@ class SHOGunApplicationUtil { olLayer.set('propertyConfig', layer.clientConfig?.propertyConfig); olLayer.set('legendUrl', layer.sourceConfig.legendUrl); olLayer.set('hoverable', layer.clientConfig?.hoverable); + olLayer.set('useBearerToken', layer.sourceConfig?.useBearerToken); } private async bearerTokenLoadFunctionVector(opts: {