From d4b0fcca9f658c1fb2604d7bf1cef496926f7b10 Mon Sep 17 00:00:00 2001 From: Nicolas KOKLA Date: Fri, 29 Nov 2024 14:14:57 +0100 Subject: [PATCH] Prefere 'osm-vector' as default map background --- .../components/ban-map/BanMap.context.tsx | 2 +- src/app/carte-base-adresse-nationale/layout.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/carte-base-adresse-nationale/components/ban-map/BanMap.context.tsx b/src/app/carte-base-adresse-nationale/components/ban-map/BanMap.context.tsx index 3aee85d4b..b9a9ba11d 100644 --- a/src/app/carte-base-adresse-nationale/components/ban-map/BanMap.context.tsx +++ b/src/app/carte-base-adresse-nationale/components/ban-map/BanMap.context.tsx @@ -14,7 +14,7 @@ interface MapItem { } const initBanMapConfig = { - mapStyle: 'ign-vector', + mapStyle: 'osm-vector', displayLandRegister: false, } diff --git a/src/app/carte-base-adresse-nationale/layout.tsx b/src/app/carte-base-adresse-nationale/layout.tsx index b94df8a79..a04c9e7af 100644 --- a/src/app/carte-base-adresse-nationale/layout.tsx +++ b/src/app/carte-base-adresse-nationale/layout.tsx @@ -68,9 +68,9 @@ function Carto({ children }: { children: JSX.Element }) { - handleMapStyleChange('ign-vector')} $isActive={banMapConfig.mapStyle === 'ign-vector'} $isTypeRadio /> handleMapStyleChange('osm-vector')} $isActive={banMapConfig.mapStyle === 'osm-vector'} $isTypeRadio /> - handleMapStyleChange('ign-ortho')} $isActive={banMapConfig.mapStyle === 'ign-ortho'} $isTypeRadio /> + handleMapStyleChange('ign-vector')} $isActive={banMapConfig.mapStyle === 'ign-vector'} $isTypeRadio /> + handleMapStyleChange('ign-ortho')} $isActive={banMapConfig.mapStyle === 'ign-ortho'} $isTypeRadio />