From 625d43f586b2a90b80f71d80b4964f139947d1d8 Mon Sep 17 00:00:00 2001 From: maudetes Date: Fri, 13 Mar 2026 17:05:46 +0100 Subject: [PATCH] feat(map): don't collapse attribution by default --- .../src/components/ResourceAccordion/MapContainer.client.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/datagouv-components/src/components/ResourceAccordion/MapContainer.client.vue b/datagouv-components/src/components/ResourceAccordion/MapContainer.client.vue index 0dea5ab8b..cd3251c32 100644 --- a/datagouv-components/src/components/ResourceAccordion/MapContainer.client.vue +++ b/datagouv-components/src/components/ResourceAccordion/MapContainer.client.vue @@ -96,7 +96,10 @@ async function displayMap() { const attributions = new GeoportalAttribution({ position: 'bottom-right', + // collapsed option is ignored by the library, thus the override below + // see https://github.com/IGNF/geopf-extensions-openlayers/issues/497 }) + attributions.setCollapsed(false) map.addControl(attributions) const layerImport = new LayerImport({