From a1be5c7db36ab33e371bbe57e65882b1694636ce Mon Sep 17 00:00:00 2001 From: Doxa Maps Date: Mon, 28 Sep 2026 18:33:50 +0000 Subject: [PATCH] Country Posters: a partner's basemap, night look, search switch and start view reach the map inside it --- plugin-designs/country-posters/country-posters-mfe.vue | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/plugin-designs/country-posters/country-posters-mfe.vue b/plugin-designs/country-posters/country-posters-mfe.vue index e550dfadd..a72eeb6e2 100644 --- a/plugin-designs/country-posters/country-posters-mfe.vue +++ b/plugin-designs/country-posters/country-posters-mfe.vue @@ -110,7 +110,13 @@ let offScroll = null // page-wide, so a partner's dataSource on was dropped and the map fell back to // sources.json's activeSource. tokenUrl is LATENT: the outer ProfileLoader fetches it and publishes // the token page-wide, so the panes get a token today, but not the URL to re-ask it themselves. -const INHERITED_PAGE_KEYS = ['assetsBase', 'apiBaseUrl', 'prayBaseUrl', 'tokenUrl', 'dataSource', 'locale', 'lang', 'isDark', 'qa', 'provider', 'list'] +// ★ The MAP's own view keys travel too (C11b ONE-CONFIG-HALF-WIRED, 2026-09-28): countries-map reads +// style / lightPreset / search / center / zoom / pitch / bearing / minZoom from its profile-config, and +// none of them was forwarded, so a partner who set a basemap, a night look, "no search" or a start view +// on got a working map at the DEFAULTS: it looked right and ignored them. The wall +// ignores these keys; pane.config still spreads last, so a pane's own profile/instanceId always wins. +const INHERITED_PAGE_KEYS = ['assetsBase', 'apiBaseUrl', 'prayBaseUrl', 'tokenUrl', 'dataSource', 'locale', 'lang', 'isDark', 'qa', 'provider', 'list', + 'style', 'lightPreset', 'search', 'center', 'zoom', 'pitch', 'bearing', 'minZoom'] function paneElement(pane) { const el = document.createElement(TAG)