From a1adb481c42bc6df7efbd899cd840f0550e7f083 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9D=D0=B8=D1=89=D0=B5=D1=82=D0=B0=20=D0=94=D0=BC=D0=B8?= =?UTF-8?q?=D1=82=D1=80=D0=B8=D0=B9=20=D0=90=D0=BD=D1=82=D0=BE=D0=BD=D0=BE?= =?UTF-8?q?=D0=B2=D0=B8=D1=87?= Date: Thu, 11 Jul 2024 08:39:48 +0300 Subject: [PATCH] Bump mapgl --- apps/demo/app/context/map.tsx | 2 +- packages/lighting-control/src/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/demo/app/context/map.tsx b/apps/demo/app/context/map.tsx index ba40762..544a9dc 100644 --- a/apps/demo/app/context/map.tsx +++ b/apps/demo/app/context/map.tsx @@ -39,7 +39,7 @@ export const MapProvider: FC<{ children: ReactNode }> = ({ children }) => { ); const ensureApi = async () => { - const api = await loadMapApi('https://mapgl.2gis.com/api/js/v0.0.335'); + const api = await loadMapApi(); setApi(api); return api; }; diff --git a/packages/lighting-control/src/index.ts b/packages/lighting-control/src/index.ts index 3842b0c..6c2891b 100644 --- a/packages/lighting-control/src/index.ts +++ b/packages/lighting-control/src/index.ts @@ -93,7 +93,7 @@ export class MapglLightingControl { global: ["sun", "moon", "atmosphere"], }, defaultLightingMode: "global", - shadow: { + shadows: { source: lightingConfig.shadowSource, }, });