Country Posters: a partner's basemap, night look, search switch and start view reach the map inside it
This commit is contained in:
parent
c312fc14b8
commit
a1be5c7db3
1 changed files with 7 additions and 1 deletions
|
|
@ -110,7 +110,13 @@ let offScroll = null
|
|||
// page-wide, so a partner's dataSource on <country-posters-mfe> 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 <country-posters-mfe> 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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue