diff --git a/internal/check-provider-switch.mjs b/internal/check-provider-switch.mjs index c8213f3fa..9cfc2fe4c 100644 --- a/internal/check-provider-switch.mjs +++ b/internal/check-provider-switch.mjs @@ -115,10 +115,10 @@ async function run(provider, token = '') { return { mapboxReq: count('mapbox.com'), globals, errs, unparsed, total: [...hosts.values()].reduce((a, n) => a + n, 0) } } -// ★ THE AUTO CONTRACT (2026-09-26). The default engine is 'auto': Mapbox only when a token is available. -// So the Mapbox baseline is ?provider=mapbox WITH a (fake) host token, the switch run adds the same token -// and ?provider=maplibre (an explicit engine must beat an available token), and a third run checks the -// no-token default is already keyless. +// ★ THE ENGINE CONTRACT. The default engine ('auto') is MapLibre, and since 2026-09-28 a token no longer +// chooses Mapbox; only an explicit provider does. So the Mapbox baseline is ?provider=mapbox WITH a (fake) +// host token, the switch run adds the same token and ?provider=maplibre, and a third run checks the +// no-token default is keyless. The default WITH a host token is check:auto-engine's case 2. const def = await run('mapbox', FAKE_TK) const ml = await run('maplibre', FAKE_TK) const auto = await run(null) diff --git a/internal/generate-tree.mjs b/internal/generate-tree.mjs index 98f78f789..b030f7064 100644 --- a/internal/generate-tree.mjs +++ b/internal/generate-tree.mjs @@ -1075,10 +1075,11 @@ ${apiScript} if (urlTk) { try { localStorage.setItem('MAPS_STAGING_TK', urlTk); } catch (e) {} } var directToken = (BASE_CONFIG && BASE_CONFIG.tk) || urlTk || stored || HOST_TOKEN || BAKED_TOKEN; // PROVIDER — the same ladder as resolveMapProvider (library/composables/useMapProvider.js): - // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins. - // 'auto' = Mapbox when a token is available (a rung above, a host-set window.MAP_TOKEN, or a token - // endpoint to ask), otherwise MapLibre, keyless: no token prompt, no request to Mapbox. The - // element decides the same way from the token this page hands it, so the two cannot disagree. + // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins, + // and 'auto' draws with MapLibre whether or not a token is available (the element decides that). + // This page only decides whether to FIND a token first: when one is on offer (a rung above, a + // host-set window.MAP_TOKEN, or a token endpoint) it resolves it, since place search uses it on + // either engine; with none, it mounts at once, keyless: no token prompt, no request to Mapbox. var ASKED = String((BASE_CONFIG && BASE_CONFIG.provider) || qp('provider') || window.MAP_PROVIDER || '').toLowerCase().trim(); var EXPLICIT = (ASKED === 'mapbox' || ASKED === 'maplibre') ? ASKED : ''; var HAS_TOKEN = !!(directToken || (typeof window.MAP_TOKEN === 'string' && window.MAP_TOKEN)); diff --git a/library/composables/useMapInstance.js b/library/composables/useMapInstance.js index 3124970d0..e732ef0c5 100644 --- a/library/composables/useMapInstance.js +++ b/library/composables/useMapInstance.js @@ -324,8 +324,8 @@ export function useMapInstance({ // Resolving here instead moves the decision to the one place every map already goes through, so // a partner running thousands of embeds sets ONE value and the whole tree follows. // An explicit caller still wins outright (prayer-walk-planner pins 'maplibre' deliberately), and - // With no switch set, resolveMapProvider decides 'auto': Mapbox when a token is available (this - // call's accessToken counts), MapLibre when none is. + // with no switch set, resolveMapProvider decides 'auto': MapLibre, whether or not a token is + // available. This call's accessToken authenticates a map that asked for Mapbox; it never chooses one. provider = undefined, center = [20, 10], zoom = 2, diff --git a/library/composables/useMapProvider.js b/library/composables/useMapProvider.js index 7568b342b..b14d80585 100644 --- a/library/composables/useMapProvider.js +++ b/library/composables/useMapProvider.js @@ -6,20 +6,18 @@ * 2. ?provider= in the page URL — read here directly, so any generated leaf page can be * flipped from the URL without the host doing anything * 3. window.MAP_PROVIDER — host global, for a host that sets it programmatically - * 4. 'auto' — the default: Mapbox WHEN A TOKEN IS AVAILABLE, else MapLibre + * 4. 'auto' — the default: MapLibre. A token alone never selects Mapbox. * * Valid values: 'mapbox' | 'maplibre' | 'auto'. Anything else is treated as 'auto'. * - * ★ 'auto' (2026-09-25, by project decision). The public repo carries NO Mapbox token, so a default - * of 'mapbox' gave every keyless visitor a map that could not draw and a paste-a-token prompt. - * 'auto' asks the token ladder instead: a token in this element's profile-config (`tk`), or one - * published page-wide (window.MAP_TOKEN — the generated leaf's ?tk= / pasted / baked / fetched rungs, - * the studio's ⚙ Settings, and any element handed a `tk` all land there, see useSharedMapToken) - * means Mapbox, exactly as before. No token anywhere means MapLibre, keyless, with zero requests to - * Mapbox. An explicit provider (rungs 1-3) always wins. - * The decision is taken when the map is created: a token that arrives LATER does not swap a map - * that already drew with MapLibre (a host that fetches its token should set it before mounting, or - * set provider:'mapbox' explicitly). + * ★ 'auto' IS MAPLIBRE. The public repo carries NO Mapbox token, so a default of 'mapbox' gave every + * keyless visitor a map that could not draw and a paste-a-token prompt. From 2026-09-25 'auto' asked + * the token ladder (a token meant Mapbox); since 2026-09-28 it is MapLibre whether or not a token is + * present — resolveMapProvider below has the reasoning. A map that wants Mapbox says so with + * provider:'mapbox' (rungs 1-3), and a token then authenticates it: this element's profile-config + * `tk`, or one published page-wide (window.MAP_TOKEN — the generated leaf's ?tk= / pasted / baked / + * fetched rungs, the studio's ⚙ Settings, and any element handed a `tk` all land there, see + * useSharedMapToken). Place search uses a token on either engine. An explicit provider always wins. * * documentation/how-to.md ("Swap the map engine") carries the same order; keep the two in sync, and * treat THIS function as the authority when they disagree. @@ -56,7 +54,8 @@ export function hasMapToken(cfg) { /** * Resolve the provider from a profile-config (object or ref) + window fallback. * Always returns a concrete engine ('mapbox' | 'maplibre'); 'auto' is decided here. `token` is a - * token the caller holds outside the config (useMapInstance's accessToken); it counts as available. + * token the caller holds outside the config (useMapInstance's accessToken); it no longer chooses the + * engine (see below) and stays in the signature for the callers that pass one. * Pure — safe to call outside a Vue setup(). */ export function resolveMapProvider(profileConfig, { token } = {}) { diff --git a/public/dx-maps/all-people-groups/all-people-groups/index.html b/public/dx-maps/all-people-groups/all-people-groups/index.html index 4fc691d5f..0c2f17a15 100644 --- a/public/dx-maps/all-people-groups/all-people-groups/index.html +++ b/public/dx-maps/all-people-groups/all-people-groups/index.html @@ -166,10 +166,11 @@ if (urlTk) { try { localStorage.setItem('MAPS_STAGING_TK', urlTk); } catch (e) {} } var directToken = (BASE_CONFIG && BASE_CONFIG.tk) || urlTk || stored || HOST_TOKEN || BAKED_TOKEN; // PROVIDER — the same ladder as resolveMapProvider (library/composables/useMapProvider.js): - // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins. - // 'auto' = Mapbox when a token is available (a rung above, a host-set window.MAP_TOKEN, or a token - // endpoint to ask), otherwise MapLibre, keyless: no token prompt, no request to Mapbox. The - // element decides the same way from the token this page hands it, so the two cannot disagree. + // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins, + // and 'auto' draws with MapLibre whether or not a token is available (the element decides that). + // This page only decides whether to FIND a token first: when one is on offer (a rung above, a + // host-set window.MAP_TOKEN, or a token endpoint) it resolves it, since place search uses it on + // either engine; with none, it mounts at once, keyless: no token prompt, no request to Mapbox. var ASKED = String((BASE_CONFIG && BASE_CONFIG.provider) || qp('provider') || window.MAP_PROVIDER || '').toLowerCase().trim(); var EXPLICIT = (ASKED === 'mapbox' || ASKED === 'maplibre') ? ASKED : ''; var HAS_TOKEN = !!(directToken || (typeof window.MAP_TOKEN === 'string' && window.MAP_TOKEN)); diff --git a/public/dx-maps/big-picture/big-picture/big-picture/index.html b/public/dx-maps/big-picture/big-picture/big-picture/index.html index ccce63add..f2e7b9869 100644 --- a/public/dx-maps/big-picture/big-picture/big-picture/index.html +++ b/public/dx-maps/big-picture/big-picture/big-picture/index.html @@ -173,10 +173,11 @@ if (urlTk) { try { localStorage.setItem('MAPS_STAGING_TK', urlTk); } catch (e) {} } var directToken = (BASE_CONFIG && BASE_CONFIG.tk) || urlTk || stored || HOST_TOKEN || BAKED_TOKEN; // PROVIDER — the same ladder as resolveMapProvider (library/composables/useMapProvider.js): - // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins. - // 'auto' = Mapbox when a token is available (a rung above, a host-set window.MAP_TOKEN, or a token - // endpoint to ask), otherwise MapLibre, keyless: no token prompt, no request to Mapbox. The - // element decides the same way from the token this page hands it, so the two cannot disagree. + // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins, + // and 'auto' draws with MapLibre whether or not a token is available (the element decides that). + // This page only decides whether to FIND a token first: when one is on offer (a rung above, a + // host-set window.MAP_TOKEN, or a token endpoint) it resolves it, since place search uses it on + // either engine; with none, it mounts at once, keyless: no token prompt, no request to Mapbox. var ASKED = String((BASE_CONFIG && BASE_CONFIG.provider) || qp('provider') || window.MAP_PROVIDER || '').toLowerCase().trim(); var EXPLICIT = (ASKED === 'mapbox' || ASKED === 'maplibre') ? ASKED : ''; var HAS_TOKEN = !!(directToken || (typeof window.MAP_TOKEN === 'string' && window.MAP_TOKEN)); diff --git a/public/dx-maps/big-picture/big-picture/frontier/index.html b/public/dx-maps/big-picture/big-picture/frontier/index.html index 7b61d6573..fef8aebea 100644 --- a/public/dx-maps/big-picture/big-picture/frontier/index.html +++ b/public/dx-maps/big-picture/big-picture/frontier/index.html @@ -173,10 +173,11 @@ if (urlTk) { try { localStorage.setItem('MAPS_STAGING_TK', urlTk); } catch (e) {} } var directToken = (BASE_CONFIG && BASE_CONFIG.tk) || urlTk || stored || HOST_TOKEN || BAKED_TOKEN; // PROVIDER — the same ladder as resolveMapProvider (library/composables/useMapProvider.js): - // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins. - // 'auto' = Mapbox when a token is available (a rung above, a host-set window.MAP_TOKEN, or a token - // endpoint to ask), otherwise MapLibre, keyless: no token prompt, no request to Mapbox. The - // element decides the same way from the token this page hands it, so the two cannot disagree. + // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins, + // and 'auto' draws with MapLibre whether or not a token is available (the element decides that). + // This page only decides whether to FIND a token first: when one is on offer (a rung above, a + // host-set window.MAP_TOKEN, or a token endpoint) it resolves it, since place search uses it on + // either engine; with none, it mounts at once, keyless: no token prompt, no request to Mapbox. var ASKED = String((BASE_CONFIG && BASE_CONFIG.provider) || qp('provider') || window.MAP_PROVIDER || '').toLowerCase().trim(); var EXPLICIT = (ASKED === 'mapbox' || ASKED === 'maplibre') ? ASKED : ''; var HAS_TOKEN = !!(directToken || (typeof window.MAP_TOKEN === 'string' && window.MAP_TOKEN)); diff --git a/public/dx-maps/big-picture/big-picture/index.html b/public/dx-maps/big-picture/big-picture/index.html index 1486f17db..5bb30bd80 100644 --- a/public/dx-maps/big-picture/big-picture/index.html +++ b/public/dx-maps/big-picture/big-picture/index.html @@ -173,10 +173,11 @@ if (urlTk) { try { localStorage.setItem('MAPS_STAGING_TK', urlTk); } catch (e) {} } var directToken = (BASE_CONFIG && BASE_CONFIG.tk) || urlTk || stored || HOST_TOKEN || BAKED_TOKEN; // PROVIDER — the same ladder as resolveMapProvider (library/composables/useMapProvider.js): - // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins. - // 'auto' = Mapbox when a token is available (a rung above, a host-set window.MAP_TOKEN, or a token - // endpoint to ask), otherwise MapLibre, keyless: no token prompt, no request to Mapbox. The - // element decides the same way from the token this page hands it, so the two cannot disagree. + // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins, + // and 'auto' draws with MapLibre whether or not a token is available (the element decides that). + // This page only decides whether to FIND a token first: when one is on offer (a rung above, a + // host-set window.MAP_TOKEN, or a token endpoint) it resolves it, since place search uses it on + // either engine; with none, it mounts at once, keyless: no token prompt, no request to Mapbox. var ASKED = String((BASE_CONFIG && BASE_CONFIG.provider) || qp('provider') || window.MAP_PROVIDER || '').toLowerCase().trim(); var EXPLICIT = (ASKED === 'mapbox' || ASKED === 'maplibre') ? ASKED : ''; var HAS_TOKEN = !!(directToken || (typeof window.MAP_TOKEN === 'string' && window.MAP_TOKEN)); diff --git a/public/dx-maps/cities-internet/connectivity-list/index.html b/public/dx-maps/cities-internet/connectivity-list/index.html index 0d982eab2..f8848d99d 100644 --- a/public/dx-maps/cities-internet/connectivity-list/index.html +++ b/public/dx-maps/cities-internet/connectivity-list/index.html @@ -162,10 +162,11 @@ if (urlTk) { try { localStorage.setItem('MAPS_STAGING_TK', urlTk); } catch (e) {} } var directToken = (BASE_CONFIG && BASE_CONFIG.tk) || urlTk || stored || HOST_TOKEN || BAKED_TOKEN; // PROVIDER — the same ladder as resolveMapProvider (library/composables/useMapProvider.js): - // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins. - // 'auto' = Mapbox when a token is available (a rung above, a host-set window.MAP_TOKEN, or a token - // endpoint to ask), otherwise MapLibre, keyless: no token prompt, no request to Mapbox. The - // element decides the same way from the token this page hands it, so the two cannot disagree. + // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins, + // and 'auto' draws with MapLibre whether or not a token is available (the element decides that). + // This page only decides whether to FIND a token first: when one is on offer (a rung above, a + // host-set window.MAP_TOKEN, or a token endpoint) it resolves it, since place search uses it on + // either engine; with none, it mounts at once, keyless: no token prompt, no request to Mapbox. var ASKED = String((BASE_CONFIG && BASE_CONFIG.provider) || qp('provider') || window.MAP_PROVIDER || '').toLowerCase().trim(); var EXPLICIT = (ASKED === 'mapbox' || ASKED === 'maplibre') ? ASKED : ''; var HAS_TOKEN = !!(directToken || (typeof window.MAP_TOKEN === 'string' && window.MAP_TOKEN)); diff --git a/public/dx-maps/cities-internet/connectivity-map/index.html b/public/dx-maps/cities-internet/connectivity-map/index.html index b6f6b4f35..de59680b4 100644 --- a/public/dx-maps/cities-internet/connectivity-map/index.html +++ b/public/dx-maps/cities-internet/connectivity-map/index.html @@ -166,10 +166,11 @@ if (urlTk) { try { localStorage.setItem('MAPS_STAGING_TK', urlTk); } catch (e) {} } var directToken = (BASE_CONFIG && BASE_CONFIG.tk) || urlTk || stored || HOST_TOKEN || BAKED_TOKEN; // PROVIDER — the same ladder as resolveMapProvider (library/composables/useMapProvider.js): - // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins. - // 'auto' = Mapbox when a token is available (a rung above, a host-set window.MAP_TOKEN, or a token - // endpoint to ask), otherwise MapLibre, keyless: no token prompt, no request to Mapbox. The - // element decides the same way from the token this page hands it, so the two cannot disagree. + // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins, + // and 'auto' draws with MapLibre whether or not a token is available (the element decides that). + // This page only decides whether to FIND a token first: when one is on offer (a rung above, a + // host-set window.MAP_TOKEN, or a token endpoint) it resolves it, since place search uses it on + // either engine; with none, it mounts at once, keyless: no token prompt, no request to Mapbox. var ASKED = String((BASE_CONFIG && BASE_CONFIG.provider) || qp('provider') || window.MAP_PROVIDER || '').toLowerCase().trim(); var EXPLICIT = (ASKED === 'mapbox' || ASKED === 'maplibre') ? ASKED : ''; var HAS_TOKEN = !!(directToken || (typeof window.MAP_TOKEN === 'string' && window.MAP_TOKEN)); diff --git a/public/dx-maps/cities-internet/data-tables/index.html b/public/dx-maps/cities-internet/data-tables/index.html index bf7a57896..048bf50ce 100644 --- a/public/dx-maps/cities-internet/data-tables/index.html +++ b/public/dx-maps/cities-internet/data-tables/index.html @@ -162,10 +162,11 @@ if (urlTk) { try { localStorage.setItem('MAPS_STAGING_TK', urlTk); } catch (e) {} } var directToken = (BASE_CONFIG && BASE_CONFIG.tk) || urlTk || stored || HOST_TOKEN || BAKED_TOKEN; // PROVIDER — the same ladder as resolveMapProvider (library/composables/useMapProvider.js): - // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins. - // 'auto' = Mapbox when a token is available (a rung above, a host-set window.MAP_TOKEN, or a token - // endpoint to ask), otherwise MapLibre, keyless: no token prompt, no request to Mapbox. The - // element decides the same way from the token this page hands it, so the two cannot disagree. + // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins, + // and 'auto' draws with MapLibre whether or not a token is available (the element decides that). + // This page only decides whether to FIND a token first: when one is on offer (a rung above, a + // host-set window.MAP_TOKEN, or a token endpoint) it resolves it, since place search uses it on + // either engine; with none, it mounts at once, keyless: no token prompt, no request to Mapbox. var ASKED = String((BASE_CONFIG && BASE_CONFIG.provider) || qp('provider') || window.MAP_PROVIDER || '').toLowerCase().trim(); var EXPLICIT = (ASKED === 'mapbox' || ASKED === 'maplibre') ? ASKED : ''; var HAS_TOKEN = !!(directToken || (typeof window.MAP_TOKEN === 'string' && window.MAP_TOKEN)); diff --git a/public/dx-maps/country-map/country-map/index.html b/public/dx-maps/country-map/country-map/index.html index e67e86544..b038cc703 100644 --- a/public/dx-maps/country-map/country-map/index.html +++ b/public/dx-maps/country-map/country-map/index.html @@ -166,10 +166,11 @@ if (urlTk) { try { localStorage.setItem('MAPS_STAGING_TK', urlTk); } catch (e) {} } var directToken = (BASE_CONFIG && BASE_CONFIG.tk) || urlTk || stored || HOST_TOKEN || BAKED_TOKEN; // PROVIDER — the same ladder as resolveMapProvider (library/composables/useMapProvider.js): - // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins. - // 'auto' = Mapbox when a token is available (a rung above, a host-set window.MAP_TOKEN, or a token - // endpoint to ask), otherwise MapLibre, keyless: no token prompt, no request to Mapbox. The - // element decides the same way from the token this page hands it, so the two cannot disagree. + // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins, + // and 'auto' draws with MapLibre whether or not a token is available (the element decides that). + // This page only decides whether to FIND a token first: when one is on offer (a rung above, a + // host-set window.MAP_TOKEN, or a token endpoint) it resolves it, since place search uses it on + // either engine; with none, it mounts at once, keyless: no token prompt, no request to Mapbox. var ASKED = String((BASE_CONFIG && BASE_CONFIG.provider) || qp('provider') || window.MAP_PROVIDER || '').toLowerCase().trim(); var EXPLICIT = (ASKED === 'mapbox' || ASKED === 'maplibre') ? ASKED : ''; var HAS_TOKEN = !!(directToken || (typeof window.MAP_TOKEN === 'string' && window.MAP_TOKEN)); diff --git a/public/dx-maps/country-posters/countries-map/index.html b/public/dx-maps/country-posters/countries-map/index.html index 3e8e297d3..45fd28bac 100644 --- a/public/dx-maps/country-posters/countries-map/index.html +++ b/public/dx-maps/country-posters/countries-map/index.html @@ -166,10 +166,11 @@ if (urlTk) { try { localStorage.setItem('MAPS_STAGING_TK', urlTk); } catch (e) {} } var directToken = (BASE_CONFIG && BASE_CONFIG.tk) || urlTk || stored || HOST_TOKEN || BAKED_TOKEN; // PROVIDER — the same ladder as resolveMapProvider (library/composables/useMapProvider.js): - // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins. - // 'auto' = Mapbox when a token is available (a rung above, a host-set window.MAP_TOKEN, or a token - // endpoint to ask), otherwise MapLibre, keyless: no token prompt, no request to Mapbox. The - // element decides the same way from the token this page hands it, so the two cannot disagree. + // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins, + // and 'auto' draws with MapLibre whether or not a token is available (the element decides that). + // This page only decides whether to FIND a token first: when one is on offer (a rung above, a + // host-set window.MAP_TOKEN, or a token endpoint) it resolves it, since place search uses it on + // either engine; with none, it mounts at once, keyless: no token prompt, no request to Mapbox. var ASKED = String((BASE_CONFIG && BASE_CONFIG.provider) || qp('provider') || window.MAP_PROVIDER || '').toLowerCase().trim(); var EXPLICIT = (ASKED === 'mapbox' || ASKED === 'maplibre') ? ASKED : ''; var HAS_TOKEN = !!(directToken || (typeof window.MAP_TOKEN === 'string' && window.MAP_TOKEN)); diff --git a/public/dx-maps/country-posters/country-poster-wall/index.html b/public/dx-maps/country-posters/country-poster-wall/index.html index a9e681f93..6a9af6253 100644 --- a/public/dx-maps/country-posters/country-poster-wall/index.html +++ b/public/dx-maps/country-posters/country-poster-wall/index.html @@ -162,10 +162,11 @@ if (urlTk) { try { localStorage.setItem('MAPS_STAGING_TK', urlTk); } catch (e) {} } var directToken = (BASE_CONFIG && BASE_CONFIG.tk) || urlTk || stored || HOST_TOKEN || BAKED_TOKEN; // PROVIDER — the same ladder as resolveMapProvider (library/composables/useMapProvider.js): - // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins. - // 'auto' = Mapbox when a token is available (a rung above, a host-set window.MAP_TOKEN, or a token - // endpoint to ask), otherwise MapLibre, keyless: no token prompt, no request to Mapbox. The - // element decides the same way from the token this page hands it, so the two cannot disagree. + // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins, + // and 'auto' draws with MapLibre whether or not a token is available (the element decides that). + // This page only decides whether to FIND a token first: when one is on offer (a rung above, a + // host-set window.MAP_TOKEN, or a token endpoint) it resolves it, since place search uses it on + // either engine; with none, it mounts at once, keyless: no token prompt, no request to Mapbox. var ASKED = String((BASE_CONFIG && BASE_CONFIG.provider) || qp('provider') || window.MAP_PROVIDER || '').toLowerCase().trim(); var EXPLICIT = (ASKED === 'mapbox' || ASKED === 'maplibre') ? ASKED : ''; var HAS_TOKEN = !!(directToken || (typeof window.MAP_TOKEN === 'string' && window.MAP_TOKEN)); diff --git a/public/dx-maps/country-posters/country-posters-mfe/index.html b/public/dx-maps/country-posters/country-posters-mfe/index.html index 1d695e568..423cbf615 100644 --- a/public/dx-maps/country-posters/country-posters-mfe/index.html +++ b/public/dx-maps/country-posters/country-posters-mfe/index.html @@ -177,10 +177,11 @@ if (urlTk) { try { localStorage.setItem('MAPS_STAGING_TK', urlTk); } catch (e) {} } var directToken = (BASE_CONFIG && BASE_CONFIG.tk) || urlTk || stored || HOST_TOKEN || BAKED_TOKEN; // PROVIDER — the same ladder as resolveMapProvider (library/composables/useMapProvider.js): - // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins. - // 'auto' = Mapbox when a token is available (a rung above, a host-set window.MAP_TOKEN, or a token - // endpoint to ask), otherwise MapLibre, keyless: no token prompt, no request to Mapbox. The - // element decides the same way from the token this page hands it, so the two cannot disagree. + // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins, + // and 'auto' draws with MapLibre whether or not a token is available (the element decides that). + // This page only decides whether to FIND a token first: when one is on offer (a rung above, a + // host-set window.MAP_TOKEN, or a token endpoint) it resolves it, since place search uses it on + // either engine; with none, it mounts at once, keyless: no token prompt, no request to Mapbox. var ASKED = String((BASE_CONFIG && BASE_CONFIG.provider) || qp('provider') || window.MAP_PROVIDER || '').toLowerCase().trim(); var EXPLICIT = (ASKED === 'mapbox' || ASKED === 'maplibre') ? ASKED : ''; var HAS_TOKEN = !!(directToken || (typeof window.MAP_TOKEN === 'string' && window.MAP_TOKEN)); diff --git a/public/dx-maps/dashboard-plus-grid/dashboard-plus-grid/default/index.html b/public/dx-maps/dashboard-plus-grid/dashboard-plus-grid/default/index.html index a2382e18f..e90517e2c 100644 --- a/public/dx-maps/dashboard-plus-grid/dashboard-plus-grid/default/index.html +++ b/public/dx-maps/dashboard-plus-grid/dashboard-plus-grid/default/index.html @@ -177,10 +177,11 @@ if (urlTk) { try { localStorage.setItem('MAPS_STAGING_TK', urlTk); } catch (e) {} } var directToken = (BASE_CONFIG && BASE_CONFIG.tk) || urlTk || stored || HOST_TOKEN || BAKED_TOKEN; // PROVIDER — the same ladder as resolveMapProvider (library/composables/useMapProvider.js): - // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins. - // 'auto' = Mapbox when a token is available (a rung above, a host-set window.MAP_TOKEN, or a token - // endpoint to ask), otherwise MapLibre, keyless: no token prompt, no request to Mapbox. The - // element decides the same way from the token this page hands it, so the two cannot disagree. + // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins, + // and 'auto' draws with MapLibre whether or not a token is available (the element decides that). + // This page only decides whether to FIND a token first: when one is on offer (a rung above, a + // host-set window.MAP_TOKEN, or a token endpoint) it resolves it, since place search uses it on + // either engine; with none, it mounts at once, keyless: no token prompt, no request to Mapbox. var ASKED = String((BASE_CONFIG && BASE_CONFIG.provider) || qp('provider') || window.MAP_PROVIDER || '').toLowerCase().trim(); var EXPLICIT = (ASKED === 'mapbox' || ASKED === 'maplibre') ? ASKED : ''; var HAS_TOKEN = !!(directToken || (typeof window.MAP_TOKEN === 'string' && window.MAP_TOKEN)); diff --git a/public/dx-maps/dashboard-plus-grid/dashboard-plus-grid/index.html b/public/dx-maps/dashboard-plus-grid/dashboard-plus-grid/index.html index d9eff7152..30b160b0e 100644 --- a/public/dx-maps/dashboard-plus-grid/dashboard-plus-grid/index.html +++ b/public/dx-maps/dashboard-plus-grid/dashboard-plus-grid/index.html @@ -177,10 +177,11 @@ if (urlTk) { try { localStorage.setItem('MAPS_STAGING_TK', urlTk); } catch (e) {} } var directToken = (BASE_CONFIG && BASE_CONFIG.tk) || urlTk || stored || HOST_TOKEN || BAKED_TOKEN; // PROVIDER — the same ladder as resolveMapProvider (library/composables/useMapProvider.js): - // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins. - // 'auto' = Mapbox when a token is available (a rung above, a host-set window.MAP_TOKEN, or a token - // endpoint to ask), otherwise MapLibre, keyless: no token prompt, no request to Mapbox. The - // element decides the same way from the token this page hands it, so the two cannot disagree. + // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins, + // and 'auto' draws with MapLibre whether or not a token is available (the element decides that). + // This page only decides whether to FIND a token first: when one is on offer (a rung above, a + // host-set window.MAP_TOKEN, or a token endpoint) it resolves it, since place search uses it on + // either engine; with none, it mounts at once, keyless: no token prompt, no request to Mapbox. var ASKED = String((BASE_CONFIG && BASE_CONFIG.provider) || qp('provider') || window.MAP_PROVIDER || '').toLowerCase().trim(); var EXPLICIT = (ASKED === 'mapbox' || ASKED === 'maplibre') ? ASKED : ''; var HAS_TOKEN = !!(directToken || (typeof window.MAP_TOKEN === 'string' && window.MAP_TOKEN)); diff --git a/public/dx-maps/demo-map/demo-map/index.html b/public/dx-maps/demo-map/demo-map/index.html index d1800962a..f7e8f2503 100644 --- a/public/dx-maps/demo-map/demo-map/index.html +++ b/public/dx-maps/demo-map/demo-map/index.html @@ -166,10 +166,11 @@ if (urlTk) { try { localStorage.setItem('MAPS_STAGING_TK', urlTk); } catch (e) {} } var directToken = (BASE_CONFIG && BASE_CONFIG.tk) || urlTk || stored || HOST_TOKEN || BAKED_TOKEN; // PROVIDER — the same ladder as resolveMapProvider (library/composables/useMapProvider.js): - // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins. - // 'auto' = Mapbox when a token is available (a rung above, a host-set window.MAP_TOKEN, or a token - // endpoint to ask), otherwise MapLibre, keyless: no token prompt, no request to Mapbox. The - // element decides the same way from the token this page hands it, so the two cannot disagree. + // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins, + // and 'auto' draws with MapLibre whether or not a token is available (the element decides that). + // This page only decides whether to FIND a token first: when one is on offer (a rung above, a + // host-set window.MAP_TOKEN, or a token endpoint) it resolves it, since place search uses it on + // either engine; with none, it mounts at once, keyless: no token prompt, no request to Mapbox. var ASKED = String((BASE_CONFIG && BASE_CONFIG.provider) || qp('provider') || window.MAP_PROVIDER || '').toLowerCase().trim(); var EXPLICIT = (ASKED === 'mapbox' || ASKED === 'maplibre') ? ASKED : ''; var HAS_TOKEN = !!(directToken || (typeof window.MAP_TOKEN === 'string' && window.MAP_TOKEN)); diff --git a/public/dx-maps/demo-map/demo-map/maplibre/index.html b/public/dx-maps/demo-map/demo-map/maplibre/index.html index 0a5d3ec32..aa2f3affb 100644 --- a/public/dx-maps/demo-map/demo-map/maplibre/index.html +++ b/public/dx-maps/demo-map/demo-map/maplibre/index.html @@ -163,10 +163,11 @@ if (urlTk) { try { localStorage.setItem('MAPS_STAGING_TK', urlTk); } catch (e) {} } var directToken = (BASE_CONFIG && BASE_CONFIG.tk) || urlTk || stored || HOST_TOKEN || BAKED_TOKEN; // PROVIDER — the same ladder as resolveMapProvider (library/composables/useMapProvider.js): - // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins. - // 'auto' = Mapbox when a token is available (a rung above, a host-set window.MAP_TOKEN, or a token - // endpoint to ask), otherwise MapLibre, keyless: no token prompt, no request to Mapbox. The - // element decides the same way from the token this page hands it, so the two cannot disagree. + // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins, + // and 'auto' draws with MapLibre whether or not a token is available (the element decides that). + // This page only decides whether to FIND a token first: when one is on offer (a rung above, a + // host-set window.MAP_TOKEN, or a token endpoint) it resolves it, since place search uses it on + // either engine; with none, it mounts at once, keyless: no token prompt, no request to Mapbox. var ASKED = String((BASE_CONFIG && BASE_CONFIG.provider) || qp('provider') || window.MAP_PROVIDER || '').toLowerCase().trim(); var EXPLICIT = (ASKED === 'mapbox' || ASKED === 'maplibre') ? ASKED : ''; var HAS_TOKEN = !!(directToken || (typeof window.MAP_TOKEN === 'string' && window.MAP_TOKEN)); diff --git a/public/dx-maps/doxa-maps-spa/doxa-maps-spa/app/index.html b/public/dx-maps/doxa-maps-spa/doxa-maps-spa/app/index.html index 1eed26215..efb19ec90 100644 --- a/public/dx-maps/doxa-maps-spa/doxa-maps-spa/app/index.html +++ b/public/dx-maps/doxa-maps-spa/doxa-maps-spa/app/index.html @@ -162,10 +162,11 @@ if (urlTk) { try { localStorage.setItem('MAPS_STAGING_TK', urlTk); } catch (e) {} } var directToken = (BASE_CONFIG && BASE_CONFIG.tk) || urlTk || stored || HOST_TOKEN || BAKED_TOKEN; // PROVIDER — the same ladder as resolveMapProvider (library/composables/useMapProvider.js): - // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins. - // 'auto' = Mapbox when a token is available (a rung above, a host-set window.MAP_TOKEN, or a token - // endpoint to ask), otherwise MapLibre, keyless: no token prompt, no request to Mapbox. The - // element decides the same way from the token this page hands it, so the two cannot disagree. + // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins, + // and 'auto' draws with MapLibre whether or not a token is available (the element decides that). + // This page only decides whether to FIND a token first: when one is on offer (a rung above, a + // host-set window.MAP_TOKEN, or a token endpoint) it resolves it, since place search uses it on + // either engine; with none, it mounts at once, keyless: no token prompt, no request to Mapbox. var ASKED = String((BASE_CONFIG && BASE_CONFIG.provider) || qp('provider') || window.MAP_PROVIDER || '').toLowerCase().trim(); var EXPLICIT = (ASKED === 'mapbox' || ASKED === 'maplibre') ? ASKED : ''; var HAS_TOKEN = !!(directToken || (typeof window.MAP_TOKEN === 'string' && window.MAP_TOKEN)); diff --git a/public/dx-maps/doxa-maps-spa/doxa-maps-spa/index.html b/public/dx-maps/doxa-maps-spa/doxa-maps-spa/index.html index 57199e401..8766e1d37 100644 --- a/public/dx-maps/doxa-maps-spa/doxa-maps-spa/index.html +++ b/public/dx-maps/doxa-maps-spa/doxa-maps-spa/index.html @@ -162,10 +162,11 @@ if (urlTk) { try { localStorage.setItem('MAPS_STAGING_TK', urlTk); } catch (e) {} } var directToken = (BASE_CONFIG && BASE_CONFIG.tk) || urlTk || stored || HOST_TOKEN || BAKED_TOKEN; // PROVIDER — the same ladder as resolveMapProvider (library/composables/useMapProvider.js): - // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins. - // 'auto' = Mapbox when a token is available (a rung above, a host-set window.MAP_TOKEN, or a token - // endpoint to ask), otherwise MapLibre, keyless: no token prompt, no request to Mapbox. The - // element decides the same way from the token this page hands it, so the two cannot disagree. + // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins, + // and 'auto' draws with MapLibre whether or not a token is available (the element decides that). + // This page only decides whether to FIND a token first: when one is on offer (a rung above, a + // host-set window.MAP_TOKEN, or a token endpoint) it resolves it, since place search uses it on + // either engine; with none, it mounts at once, keyless: no token prompt, no request to Mapbox. var ASKED = String((BASE_CONFIG && BASE_CONFIG.provider) || qp('provider') || window.MAP_PROVIDER || '').toLowerCase().trim(); var EXPLICIT = (ASKED === 'mapbox' || ASKED === 'maplibre') ? ASKED : ''; var HAS_TOKEN = !!(directToken || (typeof window.MAP_TOKEN === 'string' && window.MAP_TOKEN)); diff --git a/public/dx-maps/doxa-research-map/research-map/index.html b/public/dx-maps/doxa-research-map/research-map/index.html index 60becb8a6..c10d79013 100644 --- a/public/dx-maps/doxa-research-map/research-map/index.html +++ b/public/dx-maps/doxa-research-map/research-map/index.html @@ -166,10 +166,11 @@ if (urlTk) { try { localStorage.setItem('MAPS_STAGING_TK', urlTk); } catch (e) {} } var directToken = (BASE_CONFIG && BASE_CONFIG.tk) || urlTk || stored || HOST_TOKEN || BAKED_TOKEN; // PROVIDER — the same ladder as resolveMapProvider (library/composables/useMapProvider.js): - // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins. - // 'auto' = Mapbox when a token is available (a rung above, a host-set window.MAP_TOKEN, or a token - // endpoint to ask), otherwise MapLibre, keyless: no token prompt, no request to Mapbox. The - // element decides the same way from the token this page hands it, so the two cannot disagree. + // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins, + // and 'auto' draws with MapLibre whether or not a token is available (the element decides that). + // This page only decides whether to FIND a token first: when one is on offer (a rung above, a + // host-set window.MAP_TOKEN, or a token endpoint) it resolves it, since place search uses it on + // either engine; with none, it mounts at once, keyless: no token prompt, no request to Mapbox. var ASKED = String((BASE_CONFIG && BASE_CONFIG.provider) || qp('provider') || window.MAP_PROVIDER || '').toLowerCase().trim(); var EXPLICIT = (ASKED === 'mapbox' || ASKED === 'maplibre') ? ASKED : ''; var HAS_TOKEN = !!(directToken || (typeof window.MAP_TOKEN === 'string' && window.MAP_TOKEN)); diff --git a/public/dx-maps/doxa-research-map/research-map/maplibre/index.html b/public/dx-maps/doxa-research-map/research-map/maplibre/index.html index 228ac7322..80d5ba4fd 100644 --- a/public/dx-maps/doxa-research-map/research-map/maplibre/index.html +++ b/public/dx-maps/doxa-research-map/research-map/maplibre/index.html @@ -163,10 +163,11 @@ if (urlTk) { try { localStorage.setItem('MAPS_STAGING_TK', urlTk); } catch (e) {} } var directToken = (BASE_CONFIG && BASE_CONFIG.tk) || urlTk || stored || HOST_TOKEN || BAKED_TOKEN; // PROVIDER — the same ladder as resolveMapProvider (library/composables/useMapProvider.js): - // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins. - // 'auto' = Mapbox when a token is available (a rung above, a host-set window.MAP_TOKEN, or a token - // endpoint to ask), otherwise MapLibre, keyless: no token prompt, no request to Mapbox. The - // element decides the same way from the token this page hands it, so the two cannot disagree. + // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins, + // and 'auto' draws with MapLibre whether or not a token is available (the element decides that). + // This page only decides whether to FIND a token first: when one is on offer (a rung above, a + // host-set window.MAP_TOKEN, or a token endpoint) it resolves it, since place search uses it on + // either engine; with none, it mounts at once, keyless: no token prompt, no request to Mapbox. var ASKED = String((BASE_CONFIG && BASE_CONFIG.provider) || qp('provider') || window.MAP_PROVIDER || '').toLowerCase().trim(); var EXPLICIT = (ASKED === 'mapbox' || ASKED === 'maplibre') ? ASKED : ''; var HAS_TOKEN = !!(directToken || (typeof window.MAP_TOKEN === 'string' && window.MAP_TOKEN)); diff --git a/public/dx-maps/doxa-simple-map/doxa-simple-map/adoption/index.html b/public/dx-maps/doxa-simple-map/doxa-simple-map/adoption/index.html index 40bf6afa8..11395ca9b 100644 --- a/public/dx-maps/doxa-simple-map/doxa-simple-map/adoption/index.html +++ b/public/dx-maps/doxa-simple-map/doxa-simple-map/adoption/index.html @@ -166,10 +166,11 @@ if (urlTk) { try { localStorage.setItem('MAPS_STAGING_TK', urlTk); } catch (e) {} } var directToken = (BASE_CONFIG && BASE_CONFIG.tk) || urlTk || stored || HOST_TOKEN || BAKED_TOKEN; // PROVIDER — the same ladder as resolveMapProvider (library/composables/useMapProvider.js): - // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins. - // 'auto' = Mapbox when a token is available (a rung above, a host-set window.MAP_TOKEN, or a token - // endpoint to ask), otherwise MapLibre, keyless: no token prompt, no request to Mapbox. The - // element decides the same way from the token this page hands it, so the two cannot disagree. + // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins, + // and 'auto' draws with MapLibre whether or not a token is available (the element decides that). + // This page only decides whether to FIND a token first: when one is on offer (a rung above, a + // host-set window.MAP_TOKEN, or a token endpoint) it resolves it, since place search uses it on + // either engine; with none, it mounts at once, keyless: no token prompt, no request to Mapbox. var ASKED = String((BASE_CONFIG && BASE_CONFIG.provider) || qp('provider') || window.MAP_PROVIDER || '').toLowerCase().trim(); var EXPLICIT = (ASKED === 'mapbox' || ASKED === 'maplibre') ? ASKED : ''; var HAS_TOKEN = !!(directToken || (typeof window.MAP_TOKEN === 'string' && window.MAP_TOKEN)); diff --git a/public/dx-maps/doxa-simple-map/doxa-simple-map/engagement/index.html b/public/dx-maps/doxa-simple-map/doxa-simple-map/engagement/index.html index e1f342efc..f244fc842 100644 --- a/public/dx-maps/doxa-simple-map/doxa-simple-map/engagement/index.html +++ b/public/dx-maps/doxa-simple-map/doxa-simple-map/engagement/index.html @@ -166,10 +166,11 @@ if (urlTk) { try { localStorage.setItem('MAPS_STAGING_TK', urlTk); } catch (e) {} } var directToken = (BASE_CONFIG && BASE_CONFIG.tk) || urlTk || stored || HOST_TOKEN || BAKED_TOKEN; // PROVIDER — the same ladder as resolveMapProvider (library/composables/useMapProvider.js): - // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins. - // 'auto' = Mapbox when a token is available (a rung above, a host-set window.MAP_TOKEN, or a token - // endpoint to ask), otherwise MapLibre, keyless: no token prompt, no request to Mapbox. The - // element decides the same way from the token this page hands it, so the two cannot disagree. + // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins, + // and 'auto' draws with MapLibre whether or not a token is available (the element decides that). + // This page only decides whether to FIND a token first: when one is on offer (a rung above, a + // host-set window.MAP_TOKEN, or a token endpoint) it resolves it, since place search uses it on + // either engine; with none, it mounts at once, keyless: no token prompt, no request to Mapbox. var ASKED = String((BASE_CONFIG && BASE_CONFIG.provider) || qp('provider') || window.MAP_PROVIDER || '').toLowerCase().trim(); var EXPLICIT = (ASKED === 'mapbox' || ASKED === 'maplibre') ? ASKED : ''; var HAS_TOKEN = !!(directToken || (typeof window.MAP_TOKEN === 'string' && window.MAP_TOKEN)); diff --git a/public/dx-maps/doxa-simple-map/doxa-simple-map/index.html b/public/dx-maps/doxa-simple-map/doxa-simple-map/index.html index a3b43a511..1c873dd0f 100644 --- a/public/dx-maps/doxa-simple-map/doxa-simple-map/index.html +++ b/public/dx-maps/doxa-simple-map/doxa-simple-map/index.html @@ -166,10 +166,11 @@ if (urlTk) { try { localStorage.setItem('MAPS_STAGING_TK', urlTk); } catch (e) {} } var directToken = (BASE_CONFIG && BASE_CONFIG.tk) || urlTk || stored || HOST_TOKEN || BAKED_TOKEN; // PROVIDER — the same ladder as resolveMapProvider (library/composables/useMapProvider.js): - // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins. - // 'auto' = Mapbox when a token is available (a rung above, a host-set window.MAP_TOKEN, or a token - // endpoint to ask), otherwise MapLibre, keyless: no token prompt, no request to Mapbox. The - // element decides the same way from the token this page hands it, so the two cannot disagree. + // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins, + // and 'auto' draws with MapLibre whether or not a token is available (the element decides that). + // This page only decides whether to FIND a token first: when one is on offer (a rung above, a + // host-set window.MAP_TOKEN, or a token endpoint) it resolves it, since place search uses it on + // either engine; with none, it mounts at once, keyless: no token prompt, no request to Mapbox. var ASKED = String((BASE_CONFIG && BASE_CONFIG.provider) || qp('provider') || window.MAP_PROVIDER || '').toLowerCase().trim(); var EXPLICIT = (ASKED === 'mapbox' || ASKED === 'maplibre') ? ASKED : ''; var HAS_TOKEN = !!(directToken || (typeof window.MAP_TOKEN === 'string' && window.MAP_TOKEN)); diff --git a/public/dx-maps/doxa-simple-map/doxa-simple-map/prayer/index.html b/public/dx-maps/doxa-simple-map/doxa-simple-map/prayer/index.html index ac5f4afe5..71490cc00 100644 --- a/public/dx-maps/doxa-simple-map/doxa-simple-map/prayer/index.html +++ b/public/dx-maps/doxa-simple-map/doxa-simple-map/prayer/index.html @@ -166,10 +166,11 @@ if (urlTk) { try { localStorage.setItem('MAPS_STAGING_TK', urlTk); } catch (e) {} } var directToken = (BASE_CONFIG && BASE_CONFIG.tk) || urlTk || stored || HOST_TOKEN || BAKED_TOKEN; // PROVIDER — the same ladder as resolveMapProvider (library/composables/useMapProvider.js): - // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins. - // 'auto' = Mapbox when a token is available (a rung above, a host-set window.MAP_TOKEN, or a token - // endpoint to ask), otherwise MapLibre, keyless: no token prompt, no request to Mapbox. The - // element decides the same way from the token this page hands it, so the two cannot disagree. + // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins, + // and 'auto' draws with MapLibre whether or not a token is available (the element decides that). + // This page only decides whether to FIND a token first: when one is on offer (a rung above, a + // host-set window.MAP_TOKEN, or a token endpoint) it resolves it, since place search uses it on + // either engine; with none, it mounts at once, keyless: no token prompt, no request to Mapbox. var ASKED = String((BASE_CONFIG && BASE_CONFIG.provider) || qp('provider') || window.MAP_PROVIDER || '').toLowerCase().trim(); var EXPLICIT = (ASKED === 'mapbox' || ASKED === 'maplibre') ? ASKED : ''; var HAS_TOKEN = !!(directToken || (typeof window.MAP_TOKEN === 'string' && window.MAP_TOKEN)); diff --git a/public/dx-maps/doxa-vision-card/doxa-vision-card/default/index.html b/public/dx-maps/doxa-vision-card/doxa-vision-card/default/index.html index 42f8273cf..8c1405b90 100644 --- a/public/dx-maps/doxa-vision-card/doxa-vision-card/default/index.html +++ b/public/dx-maps/doxa-vision-card/doxa-vision-card/default/index.html @@ -162,10 +162,11 @@ if (urlTk) { try { localStorage.setItem('MAPS_STAGING_TK', urlTk); } catch (e) {} } var directToken = (BASE_CONFIG && BASE_CONFIG.tk) || urlTk || stored || HOST_TOKEN || BAKED_TOKEN; // PROVIDER — the same ladder as resolveMapProvider (library/composables/useMapProvider.js): - // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins. - // 'auto' = Mapbox when a token is available (a rung above, a host-set window.MAP_TOKEN, or a token - // endpoint to ask), otherwise MapLibre, keyless: no token prompt, no request to Mapbox. The - // element decides the same way from the token this page hands it, so the two cannot disagree. + // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins, + // and 'auto' draws with MapLibre whether or not a token is available (the element decides that). + // This page only decides whether to FIND a token first: when one is on offer (a rung above, a + // host-set window.MAP_TOKEN, or a token endpoint) it resolves it, since place search uses it on + // either engine; with none, it mounts at once, keyless: no token prompt, no request to Mapbox. var ASKED = String((BASE_CONFIG && BASE_CONFIG.provider) || qp('provider') || window.MAP_PROVIDER || '').toLowerCase().trim(); var EXPLICIT = (ASKED === 'mapbox' || ASKED === 'maplibre') ? ASKED : ''; var HAS_TOKEN = !!(directToken || (typeof window.MAP_TOKEN === 'string' && window.MAP_TOKEN)); diff --git a/public/dx-maps/doxa-vision-card/doxa-vision-card/frontier/index.html b/public/dx-maps/doxa-vision-card/doxa-vision-card/frontier/index.html index 4e86cf926..a4213f46d 100644 --- a/public/dx-maps/doxa-vision-card/doxa-vision-card/frontier/index.html +++ b/public/dx-maps/doxa-vision-card/doxa-vision-card/frontier/index.html @@ -162,10 +162,11 @@ if (urlTk) { try { localStorage.setItem('MAPS_STAGING_TK', urlTk); } catch (e) {} } var directToken = (BASE_CONFIG && BASE_CONFIG.tk) || urlTk || stored || HOST_TOKEN || BAKED_TOKEN; // PROVIDER — the same ladder as resolveMapProvider (library/composables/useMapProvider.js): - // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins. - // 'auto' = Mapbox when a token is available (a rung above, a host-set window.MAP_TOKEN, or a token - // endpoint to ask), otherwise MapLibre, keyless: no token prompt, no request to Mapbox. The - // element decides the same way from the token this page hands it, so the two cannot disagree. + // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins, + // and 'auto' draws with MapLibre whether or not a token is available (the element decides that). + // This page only decides whether to FIND a token first: when one is on offer (a rung above, a + // host-set window.MAP_TOKEN, or a token endpoint) it resolves it, since place search uses it on + // either engine; with none, it mounts at once, keyless: no token prompt, no request to Mapbox. var ASKED = String((BASE_CONFIG && BASE_CONFIG.provider) || qp('provider') || window.MAP_PROVIDER || '').toLowerCase().trim(); var EXPLICIT = (ASKED === 'mapbox' || ASKED === 'maplibre') ? ASKED : ''; var HAS_TOKEN = !!(directToken || (typeof window.MAP_TOKEN === 'string' && window.MAP_TOKEN)); diff --git a/public/dx-maps/doxa-vision-card/doxa-vision-card/index.html b/public/dx-maps/doxa-vision-card/doxa-vision-card/index.html index ba0e5e02f..87b00f8aa 100644 --- a/public/dx-maps/doxa-vision-card/doxa-vision-card/index.html +++ b/public/dx-maps/doxa-vision-card/doxa-vision-card/index.html @@ -162,10 +162,11 @@ if (urlTk) { try { localStorage.setItem('MAPS_STAGING_TK', urlTk); } catch (e) {} } var directToken = (BASE_CONFIG && BASE_CONFIG.tk) || urlTk || stored || HOST_TOKEN || BAKED_TOKEN; // PROVIDER — the same ladder as resolveMapProvider (library/composables/useMapProvider.js): - // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins. - // 'auto' = Mapbox when a token is available (a rung above, a host-set window.MAP_TOKEN, or a token - // endpoint to ask), otherwise MapLibre, keyless: no token prompt, no request to Mapbox. The - // element decides the same way from the token this page hands it, so the two cannot disagree. + // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins, + // and 'auto' draws with MapLibre whether or not a token is available (the element decides that). + // This page only decides whether to FIND a token first: when one is on offer (a rung above, a + // host-set window.MAP_TOKEN, or a token endpoint) it resolves it, since place search uses it on + // either engine; with none, it mounts at once, keyless: no token prompt, no request to Mapbox. var ASKED = String((BASE_CONFIG && BASE_CONFIG.provider) || qp('provider') || window.MAP_PROVIDER || '').toLowerCase().trim(); var EXPLICIT = (ASKED === 'mapbox' || ASKED === 'maplibre') ? ASKED : ''; var HAS_TOKEN = !!(directToken || (typeof window.MAP_TOKEN === 'string' && window.MAP_TOKEN)); diff --git a/public/dx-maps/golden-path-check/golden-path-check/index.html b/public/dx-maps/golden-path-check/golden-path-check/index.html index d4c5047c1..c79be2551 100644 --- a/public/dx-maps/golden-path-check/golden-path-check/index.html +++ b/public/dx-maps/golden-path-check/golden-path-check/index.html @@ -162,10 +162,11 @@ if (urlTk) { try { localStorage.setItem('MAPS_STAGING_TK', urlTk); } catch (e) {} } var directToken = (BASE_CONFIG && BASE_CONFIG.tk) || urlTk || stored || HOST_TOKEN || BAKED_TOKEN; // PROVIDER — the same ladder as resolveMapProvider (library/composables/useMapProvider.js): - // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins. - // 'auto' = Mapbox when a token is available (a rung above, a host-set window.MAP_TOKEN, or a token - // endpoint to ask), otherwise MapLibre, keyless: no token prompt, no request to Mapbox. The - // element decides the same way from the token this page hands it, so the two cannot disagree. + // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins, + // and 'auto' draws with MapLibre whether or not a token is available (the element decides that). + // This page only decides whether to FIND a token first: when one is on offer (a rung above, a + // host-set window.MAP_TOKEN, or a token endpoint) it resolves it, since place search uses it on + // either engine; with none, it mounts at once, keyless: no token prompt, no request to Mapbox. var ASKED = String((BASE_CONFIG && BASE_CONFIG.provider) || qp('provider') || window.MAP_PROVIDER || '').toLowerCase().trim(); var EXPLICIT = (ASKED === 'mapbox' || ASKED === 'maplibre') ? ASKED : ''; var HAS_TOKEN = !!(directToken || (typeof window.MAP_TOKEN === 'string' && window.MAP_TOKEN)); diff --git a/public/dx-maps/gospel-internet/board/board/index.html b/public/dx-maps/gospel-internet/board/board/index.html index 54413951e..4139a2994 100644 --- a/public/dx-maps/gospel-internet/board/board/index.html +++ b/public/dx-maps/gospel-internet/board/board/index.html @@ -166,10 +166,11 @@ if (urlTk) { try { localStorage.setItem('MAPS_STAGING_TK', urlTk); } catch (e) {} } var directToken = (BASE_CONFIG && BASE_CONFIG.tk) || urlTk || stored || HOST_TOKEN || BAKED_TOKEN; // PROVIDER — the same ladder as resolveMapProvider (library/composables/useMapProvider.js): - // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins. - // 'auto' = Mapbox when a token is available (a rung above, a host-set window.MAP_TOKEN, or a token - // endpoint to ask), otherwise MapLibre, keyless: no token prompt, no request to Mapbox. The - // element decides the same way from the token this page hands it, so the two cannot disagree. + // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins, + // and 'auto' draws with MapLibre whether or not a token is available (the element decides that). + // This page only decides whether to FIND a token first: when one is on offer (a rung above, a + // host-set window.MAP_TOKEN, or a token endpoint) it resolves it, since place search uses it on + // either engine; with none, it mounts at once, keyless: no token prompt, no request to Mapbox. var ASKED = String((BASE_CONFIG && BASE_CONFIG.provider) || qp('provider') || window.MAP_PROVIDER || '').toLowerCase().trim(); var EXPLICIT = (ASKED === 'mapbox' || ASKED === 'maplibre') ? ASKED : ''; var HAS_TOKEN = !!(directToken || (typeof window.MAP_TOKEN === 'string' && window.MAP_TOKEN)); diff --git a/public/dx-maps/gospel-internet/board/index.html b/public/dx-maps/gospel-internet/board/index.html index 72a8f7a7d..1d239eb76 100644 --- a/public/dx-maps/gospel-internet/board/index.html +++ b/public/dx-maps/gospel-internet/board/index.html @@ -166,10 +166,11 @@ if (urlTk) { try { localStorage.setItem('MAPS_STAGING_TK', urlTk); } catch (e) {} } var directToken = (BASE_CONFIG && BASE_CONFIG.tk) || urlTk || stored || HOST_TOKEN || BAKED_TOKEN; // PROVIDER — the same ladder as resolveMapProvider (library/composables/useMapProvider.js): - // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins. - // 'auto' = Mapbox when a token is available (a rung above, a host-set window.MAP_TOKEN, or a token - // endpoint to ask), otherwise MapLibre, keyless: no token prompt, no request to Mapbox. The - // element decides the same way from the token this page hands it, so the two cannot disagree. + // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins, + // and 'auto' draws with MapLibre whether or not a token is available (the element decides that). + // This page only decides whether to FIND a token first: when one is on offer (a rung above, a + // host-set window.MAP_TOKEN, or a token endpoint) it resolves it, since place search uses it on + // either engine; with none, it mounts at once, keyless: no token prompt, no request to Mapbox. var ASKED = String((BASE_CONFIG && BASE_CONFIG.provider) || qp('provider') || window.MAP_PROVIDER || '').toLowerCase().trim(); var EXPLICIT = (ASKED === 'mapbox' || ASKED === 'maplibre') ? ASKED : ''; var HAS_TOKEN = !!(directToken || (typeof window.MAP_TOKEN === 'string' && window.MAP_TOKEN)); diff --git a/public/dx-maps/gospel-internet/board/india-china/index.html b/public/dx-maps/gospel-internet/board/india-china/index.html index dc30e3f22..bb088e7e0 100644 --- a/public/dx-maps/gospel-internet/board/india-china/index.html +++ b/public/dx-maps/gospel-internet/board/india-china/index.html @@ -166,10 +166,11 @@ if (urlTk) { try { localStorage.setItem('MAPS_STAGING_TK', urlTk); } catch (e) {} } var directToken = (BASE_CONFIG && BASE_CONFIG.tk) || urlTk || stored || HOST_TOKEN || BAKED_TOKEN; // PROVIDER — the same ladder as resolveMapProvider (library/composables/useMapProvider.js): - // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins. - // 'auto' = Mapbox when a token is available (a rung above, a host-set window.MAP_TOKEN, or a token - // endpoint to ask), otherwise MapLibre, keyless: no token prompt, no request to Mapbox. The - // element decides the same way from the token this page hands it, so the two cannot disagree. + // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins, + // and 'auto' draws with MapLibre whether or not a token is available (the element decides that). + // This page only decides whether to FIND a token first: when one is on offer (a rung above, a + // host-set window.MAP_TOKEN, or a token endpoint) it resolves it, since place search uses it on + // either engine; with none, it mounts at once, keyless: no token prompt, no request to Mapbox. var ASKED = String((BASE_CONFIG && BASE_CONFIG.provider) || qp('provider') || window.MAP_PROVIDER || '').toLowerCase().trim(); var EXPLICIT = (ASKED === 'mapbox' || ASKED === 'maplibre') ? ASKED : ''; var HAS_TOKEN = !!(directToken || (typeof window.MAP_TOKEN === 'string' && window.MAP_TOKEN)); diff --git a/public/dx-maps/gospel-internet/board/language-tree/index.html b/public/dx-maps/gospel-internet/board/language-tree/index.html index 25eeb7665..604b626d7 100644 --- a/public/dx-maps/gospel-internet/board/language-tree/index.html +++ b/public/dx-maps/gospel-internet/board/language-tree/index.html @@ -166,10 +166,11 @@ if (urlTk) { try { localStorage.setItem('MAPS_STAGING_TK', urlTk); } catch (e) {} } var directToken = (BASE_CONFIG && BASE_CONFIG.tk) || urlTk || stored || HOST_TOKEN || BAKED_TOKEN; // PROVIDER — the same ladder as resolveMapProvider (library/composables/useMapProvider.js): - // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins. - // 'auto' = Mapbox when a token is available (a rung above, a host-set window.MAP_TOKEN, or a token - // endpoint to ask), otherwise MapLibre, keyless: no token prompt, no request to Mapbox. The - // element decides the same way from the token this page hands it, so the two cannot disagree. + // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins, + // and 'auto' draws with MapLibre whether or not a token is available (the element decides that). + // This page only decides whether to FIND a token first: when one is on offer (a rung above, a + // host-set window.MAP_TOKEN, or a token endpoint) it resolves it, since place search uses it on + // either engine; with none, it mounts at once, keyless: no token prompt, no request to Mapbox. var ASKED = String((BASE_CONFIG && BASE_CONFIG.provider) || qp('provider') || window.MAP_PROVIDER || '').toLowerCase().trim(); var EXPLICIT = (ASKED === 'mapbox' || ASKED === 'maplibre') ? ASKED : ''; var HAS_TOKEN = !!(directToken || (typeof window.MAP_TOKEN === 'string' && window.MAP_TOKEN)); diff --git a/public/dx-maps/gospel-internet/board/platforms/index.html b/public/dx-maps/gospel-internet/board/platforms/index.html index 2cafbf462..a3f01dd4f 100644 --- a/public/dx-maps/gospel-internet/board/platforms/index.html +++ b/public/dx-maps/gospel-internet/board/platforms/index.html @@ -166,10 +166,11 @@ if (urlTk) { try { localStorage.setItem('MAPS_STAGING_TK', urlTk); } catch (e) {} } var directToken = (BASE_CONFIG && BASE_CONFIG.tk) || urlTk || stored || HOST_TOKEN || BAKED_TOKEN; // PROVIDER — the same ladder as resolveMapProvider (library/composables/useMapProvider.js): - // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins. - // 'auto' = Mapbox when a token is available (a rung above, a host-set window.MAP_TOKEN, or a token - // endpoint to ask), otherwise MapLibre, keyless: no token prompt, no request to Mapbox. The - // element decides the same way from the token this page hands it, so the two cannot disagree. + // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins, + // and 'auto' draws with MapLibre whether or not a token is available (the element decides that). + // This page only decides whether to FIND a token first: when one is on offer (a rung above, a + // host-set window.MAP_TOKEN, or a token endpoint) it resolves it, since place search uses it on + // either engine; with none, it mounts at once, keyless: no token prompt, no request to Mapbox. var ASKED = String((BASE_CONFIG && BASE_CONFIG.provider) || qp('provider') || window.MAP_PROVIDER || '').toLowerCase().trim(); var EXPLICIT = (ASKED === 'mapbox' || ASKED === 'maplibre') ? ASKED : ''; var HAS_TOKEN = !!(directToken || (typeof window.MAP_TOKEN === 'string' && window.MAP_TOKEN)); diff --git a/public/dx-maps/gospel-internet/board/project-700/index.html b/public/dx-maps/gospel-internet/board/project-700/index.html index fb4a32e77..e85156a24 100644 --- a/public/dx-maps/gospel-internet/board/project-700/index.html +++ b/public/dx-maps/gospel-internet/board/project-700/index.html @@ -166,10 +166,11 @@ if (urlTk) { try { localStorage.setItem('MAPS_STAGING_TK', urlTk); } catch (e) {} } var directToken = (BASE_CONFIG && BASE_CONFIG.tk) || urlTk || stored || HOST_TOKEN || BAKED_TOKEN; // PROVIDER — the same ladder as resolveMapProvider (library/composables/useMapProvider.js): - // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins. - // 'auto' = Mapbox when a token is available (a rung above, a host-set window.MAP_TOKEN, or a token - // endpoint to ask), otherwise MapLibre, keyless: no token prompt, no request to Mapbox. The - // element decides the same way from the token this page hands it, so the two cannot disagree. + // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins, + // and 'auto' draws with MapLibre whether or not a token is available (the element decides that). + // This page only decides whether to FIND a token first: when one is on offer (a rung above, a + // host-set window.MAP_TOKEN, or a token endpoint) it resolves it, since place search uses it on + // either engine; with none, it mounts at once, keyless: no token prompt, no request to Mapbox. var ASKED = String((BASE_CONFIG && BASE_CONFIG.provider) || qp('provider') || window.MAP_PROVIDER || '').toLowerCase().trim(); var EXPLICIT = (ASKED === 'mapbox' || ASKED === 'maplibre') ? ASKED : ''; var HAS_TOKEN = !!(directToken || (typeof window.MAP_TOKEN === 'string' && window.MAP_TOKEN)); diff --git a/public/dx-maps/gospel-internet/board/zero/index.html b/public/dx-maps/gospel-internet/board/zero/index.html index 60f3f2332..6bd34569d 100644 --- a/public/dx-maps/gospel-internet/board/zero/index.html +++ b/public/dx-maps/gospel-internet/board/zero/index.html @@ -166,10 +166,11 @@ if (urlTk) { try { localStorage.setItem('MAPS_STAGING_TK', urlTk); } catch (e) {} } var directToken = (BASE_CONFIG && BASE_CONFIG.tk) || urlTk || stored || HOST_TOKEN || BAKED_TOKEN; // PROVIDER — the same ladder as resolveMapProvider (library/composables/useMapProvider.js): - // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins. - // 'auto' = Mapbox when a token is available (a rung above, a host-set window.MAP_TOKEN, or a token - // endpoint to ask), otherwise MapLibre, keyless: no token prompt, no request to Mapbox. The - // element decides the same way from the token this page hands it, so the two cannot disagree. + // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins, + // and 'auto' draws with MapLibre whether or not a token is available (the element decides that). + // This page only decides whether to FIND a token first: when one is on offer (a rung above, a + // host-set window.MAP_TOKEN, or a token endpoint) it resolves it, since place search uses it on + // either engine; with none, it mounts at once, keyless: no token prompt, no request to Mapbox. var ASKED = String((BASE_CONFIG && BASE_CONFIG.provider) || qp('provider') || window.MAP_PROVIDER || '').toLowerCase().trim(); var EXPLICIT = (ASKED === 'mapbox' || ASKED === 'maplibre') ? ASKED : ''; var HAS_TOKEN = !!(directToken || (typeof window.MAP_TOKEN === 'string' && window.MAP_TOKEN)); diff --git a/public/dx-maps/gospel-resources/charts/index.html b/public/dx-maps/gospel-resources/charts/index.html index 57c180f36..6e9360700 100644 --- a/public/dx-maps/gospel-resources/charts/index.html +++ b/public/dx-maps/gospel-resources/charts/index.html @@ -162,10 +162,11 @@ if (urlTk) { try { localStorage.setItem('MAPS_STAGING_TK', urlTk); } catch (e) {} } var directToken = (BASE_CONFIG && BASE_CONFIG.tk) || urlTk || stored || HOST_TOKEN || BAKED_TOKEN; // PROVIDER — the same ladder as resolveMapProvider (library/composables/useMapProvider.js): - // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins. - // 'auto' = Mapbox when a token is available (a rung above, a host-set window.MAP_TOKEN, or a token - // endpoint to ask), otherwise MapLibre, keyless: no token prompt, no request to Mapbox. The - // element decides the same way from the token this page hands it, so the two cannot disagree. + // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins, + // and 'auto' draws with MapLibre whether or not a token is available (the element decides that). + // This page only decides whether to FIND a token first: when one is on offer (a rung above, a + // host-set window.MAP_TOKEN, or a token endpoint) it resolves it, since place search uses it on + // either engine; with none, it mounts at once, keyless: no token prompt, no request to Mapbox. var ASKED = String((BASE_CONFIG && BASE_CONFIG.provider) || qp('provider') || window.MAP_PROVIDER || '').toLowerCase().trim(); var EXPLICIT = (ASKED === 'mapbox' || ASKED === 'maplibre') ? ASKED : ''; var HAS_TOKEN = !!(directToken || (typeof window.MAP_TOKEN === 'string' && window.MAP_TOKEN)); diff --git a/public/dx-maps/gospel-resources/data-tables/index.html b/public/dx-maps/gospel-resources/data-tables/index.html index abc043460..50de6b71b 100644 --- a/public/dx-maps/gospel-resources/data-tables/index.html +++ b/public/dx-maps/gospel-resources/data-tables/index.html @@ -162,10 +162,11 @@ if (urlTk) { try { localStorage.setItem('MAPS_STAGING_TK', urlTk); } catch (e) {} } var directToken = (BASE_CONFIG && BASE_CONFIG.tk) || urlTk || stored || HOST_TOKEN || BAKED_TOKEN; // PROVIDER — the same ladder as resolveMapProvider (library/composables/useMapProvider.js): - // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins. - // 'auto' = Mapbox when a token is available (a rung above, a host-set window.MAP_TOKEN, or a token - // endpoint to ask), otherwise MapLibre, keyless: no token prompt, no request to Mapbox. The - // element decides the same way from the token this page hands it, so the two cannot disagree. + // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins, + // and 'auto' draws with MapLibre whether or not a token is available (the element decides that). + // This page only decides whether to FIND a token first: when one is on offer (a rung above, a + // host-set window.MAP_TOKEN, or a token endpoint) it resolves it, since place search uses it on + // either engine; with none, it mounts at once, keyless: no token prompt, no request to Mapbox. var ASKED = String((BASE_CONFIG && BASE_CONFIG.provider) || qp('provider') || window.MAP_PROVIDER || '').toLowerCase().trim(); var EXPLICIT = (ASKED === 'mapbox' || ASKED === 'maplibre') ? ASKED : ''; var HAS_TOKEN = !!(directToken || (typeof window.MAP_TOKEN === 'string' && window.MAP_TOKEN)); diff --git a/public/dx-maps/gospel-resources/gospel-dashboard/index.html b/public/dx-maps/gospel-resources/gospel-dashboard/index.html index ee8fa95d8..f4f823ac4 100644 --- a/public/dx-maps/gospel-resources/gospel-dashboard/index.html +++ b/public/dx-maps/gospel-resources/gospel-dashboard/index.html @@ -177,10 +177,11 @@ if (urlTk) { try { localStorage.setItem('MAPS_STAGING_TK', urlTk); } catch (e) {} } var directToken = (BASE_CONFIG && BASE_CONFIG.tk) || urlTk || stored || HOST_TOKEN || BAKED_TOKEN; // PROVIDER — the same ladder as resolveMapProvider (library/composables/useMapProvider.js): - // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins. - // 'auto' = Mapbox when a token is available (a rung above, a host-set window.MAP_TOKEN, or a token - // endpoint to ask), otherwise MapLibre, keyless: no token prompt, no request to Mapbox. The - // element decides the same way from the token this page hands it, so the two cannot disagree. + // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins, + // and 'auto' draws with MapLibre whether or not a token is available (the element decides that). + // This page only decides whether to FIND a token first: when one is on offer (a rung above, a + // host-set window.MAP_TOKEN, or a token endpoint) it resolves it, since place search uses it on + // either engine; with none, it mounts at once, keyless: no token prompt, no request to Mapbox. var ASKED = String((BASE_CONFIG && BASE_CONFIG.provider) || qp('provider') || window.MAP_PROVIDER || '').toLowerCase().trim(); var EXPLICIT = (ASKED === 'mapbox' || ASKED === 'maplibre') ? ASKED : ''; var HAS_TOKEN = !!(directToken || (typeof window.MAP_TOKEN === 'string' && window.MAP_TOKEN)); diff --git a/public/dx-maps/gospel-resources/resources-list/index.html b/public/dx-maps/gospel-resources/resources-list/index.html index a157dc35b..069f5688c 100644 --- a/public/dx-maps/gospel-resources/resources-list/index.html +++ b/public/dx-maps/gospel-resources/resources-list/index.html @@ -162,10 +162,11 @@ if (urlTk) { try { localStorage.setItem('MAPS_STAGING_TK', urlTk); } catch (e) {} } var directToken = (BASE_CONFIG && BASE_CONFIG.tk) || urlTk || stored || HOST_TOKEN || BAKED_TOKEN; // PROVIDER — the same ladder as resolveMapProvider (library/composables/useMapProvider.js): - // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins. - // 'auto' = Mapbox when a token is available (a rung above, a host-set window.MAP_TOKEN, or a token - // endpoint to ask), otherwise MapLibre, keyless: no token prompt, no request to Mapbox. The - // element decides the same way from the token this page hands it, so the two cannot disagree. + // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins, + // and 'auto' draws with MapLibre whether or not a token is available (the element decides that). + // This page only decides whether to FIND a token first: when one is on offer (a rung above, a + // host-set window.MAP_TOKEN, or a token endpoint) it resolves it, since place search uses it on + // either engine; with none, it mounts at once, keyless: no token prompt, no request to Mapbox. var ASKED = String((BASE_CONFIG && BASE_CONFIG.provider) || qp('provider') || window.MAP_PROVIDER || '').toLowerCase().trim(); var EXPLICIT = (ASKED === 'mapbox' || ASKED === 'maplibre') ? ASKED : ''; var HAS_TOKEN = !!(directToken || (typeof window.MAP_TOKEN === 'string' && window.MAP_TOKEN)); diff --git a/public/dx-maps/gospel-resources/resources-map/index.html b/public/dx-maps/gospel-resources/resources-map/index.html index fb88a9ba5..e6c785eea 100644 --- a/public/dx-maps/gospel-resources/resources-map/index.html +++ b/public/dx-maps/gospel-resources/resources-map/index.html @@ -166,10 +166,11 @@ if (urlTk) { try { localStorage.setItem('MAPS_STAGING_TK', urlTk); } catch (e) {} } var directToken = (BASE_CONFIG && BASE_CONFIG.tk) || urlTk || stored || HOST_TOKEN || BAKED_TOKEN; // PROVIDER — the same ladder as resolveMapProvider (library/composables/useMapProvider.js): - // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins. - // 'auto' = Mapbox when a token is available (a rung above, a host-set window.MAP_TOKEN, or a token - // endpoint to ask), otherwise MapLibre, keyless: no token prompt, no request to Mapbox. The - // element decides the same way from the token this page hands it, so the two cannot disagree. + // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins, + // and 'auto' draws with MapLibre whether or not a token is available (the element decides that). + // This page only decides whether to FIND a token first: when one is on offer (a rung above, a + // host-set window.MAP_TOKEN, or a token endpoint) it resolves it, since place search uses it on + // either engine; with none, it mounts at once, keyless: no token prompt, no request to Mapbox. var ASKED = String((BASE_CONFIG && BASE_CONFIG.provider) || qp('provider') || window.MAP_PROVIDER || '').toLowerCase().trim(); var EXPLICIT = (ASKED === 'mapbox' || ASKED === 'maplibre') ? ASKED : ''; var HAS_TOKEN = !!(directToken || (typeof window.MAP_TOKEN === 'string' && window.MAP_TOKEN)); diff --git a/public/dx-maps/my-upg-100-list/poster-wall/index.html b/public/dx-maps/my-upg-100-list/poster-wall/index.html index a1c0af653..f289aa373 100644 --- a/public/dx-maps/my-upg-100-list/poster-wall/index.html +++ b/public/dx-maps/my-upg-100-list/poster-wall/index.html @@ -162,10 +162,11 @@ if (urlTk) { try { localStorage.setItem('MAPS_STAGING_TK', urlTk); } catch (e) {} } var directToken = (BASE_CONFIG && BASE_CONFIG.tk) || urlTk || stored || HOST_TOKEN || BAKED_TOKEN; // PROVIDER — the same ladder as resolveMapProvider (library/composables/useMapProvider.js): - // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins. - // 'auto' = Mapbox when a token is available (a rung above, a host-set window.MAP_TOKEN, or a token - // endpoint to ask), otherwise MapLibre, keyless: no token prompt, no request to Mapbox. The - // element decides the same way from the token this page hands it, so the two cannot disagree. + // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins, + // and 'auto' draws with MapLibre whether or not a token is available (the element decides that). + // This page only decides whether to FIND a token first: when one is on offer (a rung above, a + // host-set window.MAP_TOKEN, or a token endpoint) it resolves it, since place search uses it on + // either engine; with none, it mounts at once, keyless: no token prompt, no request to Mapbox. var ASKED = String((BASE_CONFIG && BASE_CONFIG.provider) || qp('provider') || window.MAP_PROVIDER || '').toLowerCase().trim(); var EXPLICIT = (ASKED === 'mapbox' || ASKED === 'maplibre') ? ASKED : ''; var HAS_TOKEN = !!(directToken || (typeof window.MAP_TOKEN === 'string' && window.MAP_TOKEN)); diff --git a/public/dx-maps/my-upg-100-list/upg-100-list/index.html b/public/dx-maps/my-upg-100-list/upg-100-list/index.html index 8ccf6a679..510ed19ba 100644 --- a/public/dx-maps/my-upg-100-list/upg-100-list/index.html +++ b/public/dx-maps/my-upg-100-list/upg-100-list/index.html @@ -166,10 +166,11 @@ if (urlTk) { try { localStorage.setItem('MAPS_STAGING_TK', urlTk); } catch (e) {} } var directToken = (BASE_CONFIG && BASE_CONFIG.tk) || urlTk || stored || HOST_TOKEN || BAKED_TOKEN; // PROVIDER — the same ladder as resolveMapProvider (library/composables/useMapProvider.js): - // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins. - // 'auto' = Mapbox when a token is available (a rung above, a host-set window.MAP_TOKEN, or a token - // endpoint to ask), otherwise MapLibre, keyless: no token prompt, no request to Mapbox. The - // element decides the same way from the token this page hands it, so the two cannot disagree. + // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins, + // and 'auto' draws with MapLibre whether or not a token is available (the element decides that). + // This page only decides whether to FIND a token first: when one is on offer (a rung above, a + // host-set window.MAP_TOKEN, or a token endpoint) it resolves it, since place search uses it on + // either engine; with none, it mounts at once, keyless: no token prompt, no request to Mapbox. var ASKED = String((BASE_CONFIG && BASE_CONFIG.provider) || qp('provider') || window.MAP_PROVIDER || '').toLowerCase().trim(); var EXPLICIT = (ASKED === 'mapbox' || ASKED === 'maplibre') ? ASKED : ''; var HAS_TOKEN = !!(directToken || (typeof window.MAP_TOKEN === 'string' && window.MAP_TOKEN)); diff --git a/public/dx-maps/my-upg-100-list/upg-100-mfe/index.html b/public/dx-maps/my-upg-100-list/upg-100-mfe/index.html index 6501064a5..ee1e2264d 100644 --- a/public/dx-maps/my-upg-100-list/upg-100-mfe/index.html +++ b/public/dx-maps/my-upg-100-list/upg-100-mfe/index.html @@ -177,10 +177,11 @@ if (urlTk) { try { localStorage.setItem('MAPS_STAGING_TK', urlTk); } catch (e) {} } var directToken = (BASE_CONFIG && BASE_CONFIG.tk) || urlTk || stored || HOST_TOKEN || BAKED_TOKEN; // PROVIDER — the same ladder as resolveMapProvider (library/composables/useMapProvider.js): - // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins. - // 'auto' = Mapbox when a token is available (a rung above, a host-set window.MAP_TOKEN, or a token - // endpoint to ask), otherwise MapLibre, keyless: no token prompt, no request to Mapbox. The - // element decides the same way from the token this page hands it, so the two cannot disagree. + // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins, + // and 'auto' draws with MapLibre whether or not a token is available (the element decides that). + // This page only decides whether to FIND a token first: when one is on offer (a rung above, a + // host-set window.MAP_TOKEN, or a token endpoint) it resolves it, since place search uses it on + // either engine; with none, it mounts at once, keyless: no token prompt, no request to Mapbox. var ASKED = String((BASE_CONFIG && BASE_CONFIG.provider) || qp('provider') || window.MAP_PROVIDER || '').toLowerCase().trim(); var EXPLICIT = (ASKED === 'mapbox' || ASKED === 'maplibre') ? ASKED : ''; var HAS_TOKEN = !!(directToken || (typeof window.MAP_TOKEN === 'string' && window.MAP_TOKEN)); diff --git a/public/dx-maps/people-groups-grid/people-groups-grid/driven/index.html b/public/dx-maps/people-groups-grid/people-groups-grid/driven/index.html index b8d6b36e2..afd079ea3 100644 --- a/public/dx-maps/people-groups-grid/people-groups-grid/driven/index.html +++ b/public/dx-maps/people-groups-grid/people-groups-grid/driven/index.html @@ -162,10 +162,11 @@ if (urlTk) { try { localStorage.setItem('MAPS_STAGING_TK', urlTk); } catch (e) {} } var directToken = (BASE_CONFIG && BASE_CONFIG.tk) || urlTk || stored || HOST_TOKEN || BAKED_TOKEN; // PROVIDER — the same ladder as resolveMapProvider (library/composables/useMapProvider.js): - // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins. - // 'auto' = Mapbox when a token is available (a rung above, a host-set window.MAP_TOKEN, or a token - // endpoint to ask), otherwise MapLibre, keyless: no token prompt, no request to Mapbox. The - // element decides the same way from the token this page hands it, so the two cannot disagree. + // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins, + // and 'auto' draws with MapLibre whether or not a token is available (the element decides that). + // This page only decides whether to FIND a token first: when one is on offer (a rung above, a + // host-set window.MAP_TOKEN, or a token endpoint) it resolves it, since place search uses it on + // either engine; with none, it mounts at once, keyless: no token prompt, no request to Mapbox. var ASKED = String((BASE_CONFIG && BASE_CONFIG.provider) || qp('provider') || window.MAP_PROVIDER || '').toLowerCase().trim(); var EXPLICIT = (ASKED === 'mapbox' || ASKED === 'maplibre') ? ASKED : ''; var HAS_TOKEN = !!(directToken || (typeof window.MAP_TOKEN === 'string' && window.MAP_TOKEN)); diff --git a/public/dx-maps/people-groups-grid/people-groups-grid/index.html b/public/dx-maps/people-groups-grid/people-groups-grid/index.html index 3932980b0..eb2c06fd6 100644 --- a/public/dx-maps/people-groups-grid/people-groups-grid/index.html +++ b/public/dx-maps/people-groups-grid/people-groups-grid/index.html @@ -162,10 +162,11 @@ if (urlTk) { try { localStorage.setItem('MAPS_STAGING_TK', urlTk); } catch (e) {} } var directToken = (BASE_CONFIG && BASE_CONFIG.tk) || urlTk || stored || HOST_TOKEN || BAKED_TOKEN; // PROVIDER — the same ladder as resolveMapProvider (library/composables/useMapProvider.js): - // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins. - // 'auto' = Mapbox when a token is available (a rung above, a host-set window.MAP_TOKEN, or a token - // endpoint to ask), otherwise MapLibre, keyless: no token prompt, no request to Mapbox. The - // element decides the same way from the token this page hands it, so the two cannot disagree. + // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins, + // and 'auto' draws with MapLibre whether or not a token is available (the element decides that). + // This page only decides whether to FIND a token first: when one is on offer (a rung above, a + // host-set window.MAP_TOKEN, or a token endpoint) it resolves it, since place search uses it on + // either engine; with none, it mounts at once, keyless: no token prompt, no request to Mapbox. var ASKED = String((BASE_CONFIG && BASE_CONFIG.provider) || qp('provider') || window.MAP_PROVIDER || '').toLowerCase().trim(); var EXPLICIT = (ASKED === 'mapbox' || ASKED === 'maplibre') ? ASKED : ''; var HAS_TOKEN = !!(directToken || (typeof window.MAP_TOKEN === 'string' && window.MAP_TOKEN)); diff --git a/public/dx-maps/people-groups-grid/people-groups-grid/people-groups-grid/index.html b/public/dx-maps/people-groups-grid/people-groups-grid/people-groups-grid/index.html index 1c5ae16ea..af64ead59 100644 --- a/public/dx-maps/people-groups-grid/people-groups-grid/people-groups-grid/index.html +++ b/public/dx-maps/people-groups-grid/people-groups-grid/people-groups-grid/index.html @@ -162,10 +162,11 @@ if (urlTk) { try { localStorage.setItem('MAPS_STAGING_TK', urlTk); } catch (e) {} } var directToken = (BASE_CONFIG && BASE_CONFIG.tk) || urlTk || stored || HOST_TOKEN || BAKED_TOKEN; // PROVIDER — the same ladder as resolveMapProvider (library/composables/useMapProvider.js): - // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins. - // 'auto' = Mapbox when a token is available (a rung above, a host-set window.MAP_TOKEN, or a token - // endpoint to ask), otherwise MapLibre, keyless: no token prompt, no request to Mapbox. The - // element decides the same way from the token this page hands it, so the two cannot disagree. + // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins, + // and 'auto' draws with MapLibre whether or not a token is available (the element decides that). + // This page only decides whether to FIND a token first: when one is on offer (a rung above, a + // host-set window.MAP_TOKEN, or a token endpoint) it resolves it, since place search uses it on + // either engine; with none, it mounts at once, keyless: no token prompt, no request to Mapbox. var ASKED = String((BASE_CONFIG && BASE_CONFIG.provider) || qp('provider') || window.MAP_PROVIDER || '').toLowerCase().trim(); var EXPLICIT = (ASKED === 'mapbox' || ASKED === 'maplibre') ? ASKED : ''; var HAS_TOKEN = !!(directToken || (typeof window.MAP_TOKEN === 'string' && window.MAP_TOKEN)); diff --git a/public/dx-maps/plugin-studio/plugin-studio/index.html b/public/dx-maps/plugin-studio/plugin-studio/index.html index 9feb2b0e6..a7cc52421 100644 --- a/public/dx-maps/plugin-studio/plugin-studio/index.html +++ b/public/dx-maps/plugin-studio/plugin-studio/index.html @@ -162,10 +162,11 @@ if (urlTk) { try { localStorage.setItem('MAPS_STAGING_TK', urlTk); } catch (e) {} } var directToken = (BASE_CONFIG && BASE_CONFIG.tk) || urlTk || stored || HOST_TOKEN || BAKED_TOKEN; // PROVIDER — the same ladder as resolveMapProvider (library/composables/useMapProvider.js): - // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins. - // 'auto' = Mapbox when a token is available (a rung above, a host-set window.MAP_TOKEN, or a token - // endpoint to ask), otherwise MapLibre, keyless: no token prompt, no request to Mapbox. The - // element decides the same way from the token this page hands it, so the two cannot disagree. + // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins, + // and 'auto' draws with MapLibre whether or not a token is available (the element decides that). + // This page only decides whether to FIND a token first: when one is on offer (a rung above, a + // host-set window.MAP_TOKEN, or a token endpoint) it resolves it, since place search uses it on + // either engine; with none, it mounts at once, keyless: no token prompt, no request to Mapbox. var ASKED = String((BASE_CONFIG && BASE_CONFIG.provider) || qp('provider') || window.MAP_PROVIDER || '').toLowerCase().trim(); var EXPLICIT = (ASKED === 'mapbox' || ASKED === 'maplibre') ? ASKED : ''; var HAS_TOKEN = !!(directToken || (typeof window.MAP_TOKEN === 'string' && window.MAP_TOKEN)); diff --git a/public/dx-maps/plugin-studio/plugin-studio/studio/index.html b/public/dx-maps/plugin-studio/plugin-studio/studio/index.html index cee1c9a48..491d20173 100644 --- a/public/dx-maps/plugin-studio/plugin-studio/studio/index.html +++ b/public/dx-maps/plugin-studio/plugin-studio/studio/index.html @@ -162,10 +162,11 @@ if (urlTk) { try { localStorage.setItem('MAPS_STAGING_TK', urlTk); } catch (e) {} } var directToken = (BASE_CONFIG && BASE_CONFIG.tk) || urlTk || stored || HOST_TOKEN || BAKED_TOKEN; // PROVIDER — the same ladder as resolveMapProvider (library/composables/useMapProvider.js): - // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins. - // 'auto' = Mapbox when a token is available (a rung above, a host-set window.MAP_TOKEN, or a token - // endpoint to ask), otherwise MapLibre, keyless: no token prompt, no request to Mapbox. The - // element decides the same way from the token this page hands it, so the two cannot disagree. + // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins, + // and 'auto' draws with MapLibre whether or not a token is available (the element decides that). + // This page only decides whether to FIND a token first: when one is on offer (a rung above, a + // host-set window.MAP_TOKEN, or a token endpoint) it resolves it, since place search uses it on + // either engine; with none, it mounts at once, keyless: no token prompt, no request to Mapbox. var ASKED = String((BASE_CONFIG && BASE_CONFIG.provider) || qp('provider') || window.MAP_PROVIDER || '').toLowerCase().trim(); var EXPLICIT = (ASKED === 'mapbox' || ASKED === 'maplibre') ? ASKED : ''; var HAS_TOKEN = !!(directToken || (typeof window.MAP_TOKEN === 'string' && window.MAP_TOKEN)); diff --git a/public/dx-maps/pplr-data-maps/pplr-data-maps/index.html b/public/dx-maps/pplr-data-maps/pplr-data-maps/index.html index 9c14a9b12..bb4d00eec 100644 --- a/public/dx-maps/pplr-data-maps/pplr-data-maps/index.html +++ b/public/dx-maps/pplr-data-maps/pplr-data-maps/index.html @@ -166,10 +166,11 @@ if (urlTk) { try { localStorage.setItem('MAPS_STAGING_TK', urlTk); } catch (e) {} } var directToken = (BASE_CONFIG && BASE_CONFIG.tk) || urlTk || stored || HOST_TOKEN || BAKED_TOKEN; // PROVIDER — the same ladder as resolveMapProvider (library/composables/useMapProvider.js): - // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins. - // 'auto' = Mapbox when a token is available (a rung above, a host-set window.MAP_TOKEN, or a token - // endpoint to ask), otherwise MapLibre, keyless: no token prompt, no request to Mapbox. The - // element decides the same way from the token this page hands it, so the two cannot disagree. + // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins, + // and 'auto' draws with MapLibre whether or not a token is available (the element decides that). + // This page only decides whether to FIND a token first: when one is on offer (a rung above, a + // host-set window.MAP_TOKEN, or a token endpoint) it resolves it, since place search uses it on + // either engine; with none, it mounts at once, keyless: no token prompt, no request to Mapbox. var ASKED = String((BASE_CONFIG && BASE_CONFIG.provider) || qp('provider') || window.MAP_PROVIDER || '').toLowerCase().trim(); var EXPLICIT = (ASKED === 'mapbox' || ASKED === 'maplibre') ? ASKED : ''; var HAS_TOKEN = !!(directToken || (typeof window.MAP_TOKEN === 'string' && window.MAP_TOKEN)); diff --git a/public/dx-maps/prayer-walk-planner/prayer-walk-planner/index.html b/public/dx-maps/prayer-walk-planner/prayer-walk-planner/index.html index 5e8f658e9..a73d2326f 100644 --- a/public/dx-maps/prayer-walk-planner/prayer-walk-planner/index.html +++ b/public/dx-maps/prayer-walk-planner/prayer-walk-planner/index.html @@ -166,10 +166,11 @@ if (urlTk) { try { localStorage.setItem('MAPS_STAGING_TK', urlTk); } catch (e) {} } var directToken = (BASE_CONFIG && BASE_CONFIG.tk) || urlTk || stored || HOST_TOKEN || BAKED_TOKEN; // PROVIDER — the same ladder as resolveMapProvider (library/composables/useMapProvider.js): - // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins. - // 'auto' = Mapbox when a token is available (a rung above, a host-set window.MAP_TOKEN, or a token - // endpoint to ask), otherwise MapLibre, keyless: no token prompt, no request to Mapbox. The - // element decides the same way from the token this page hands it, so the two cannot disagree. + // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins, + // and 'auto' draws with MapLibre whether or not a token is available (the element decides that). + // This page only decides whether to FIND a token first: when one is on offer (a rung above, a + // host-set window.MAP_TOKEN, or a token endpoint) it resolves it, since place search uses it on + // either engine; with none, it mounts at once, keyless: no token prompt, no request to Mapbox. var ASKED = String((BASE_CONFIG && BASE_CONFIG.provider) || qp('provider') || window.MAP_PROVIDER || '').toLowerCase().trim(); var EXPLICIT = (ASKED === 'mapbox' || ASKED === 'maplibre') ? ASKED : ''; var HAS_TOKEN = !!(directToken || (typeof window.MAP_TOKEN === 'string' && window.MAP_TOKEN)); diff --git a/public/dx-maps/regions-dashboard/region-dashboards/index.html b/public/dx-maps/regions-dashboard/region-dashboards/index.html index 555ad59c7..ee4419dea 100644 --- a/public/dx-maps/regions-dashboard/region-dashboards/index.html +++ b/public/dx-maps/regions-dashboard/region-dashboards/index.html @@ -166,10 +166,11 @@ if (urlTk) { try { localStorage.setItem('MAPS_STAGING_TK', urlTk); } catch (e) {} } var directToken = (BASE_CONFIG && BASE_CONFIG.tk) || urlTk || stored || HOST_TOKEN || BAKED_TOKEN; // PROVIDER — the same ladder as resolveMapProvider (library/composables/useMapProvider.js): - // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins. - // 'auto' = Mapbox when a token is available (a rung above, a host-set window.MAP_TOKEN, or a token - // endpoint to ask), otherwise MapLibre, keyless: no token prompt, no request to Mapbox. The - // element decides the same way from the token this page hands it, so the two cannot disagree. + // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins, + // and 'auto' draws with MapLibre whether or not a token is available (the element decides that). + // This page only decides whether to FIND a token first: when one is on offer (a rung above, a + // host-set window.MAP_TOKEN, or a token endpoint) it resolves it, since place search uses it on + // either engine; with none, it mounts at once, keyless: no token prompt, no request to Mapbox. var ASKED = String((BASE_CONFIG && BASE_CONFIG.provider) || qp('provider') || window.MAP_PROVIDER || '').toLowerCase().trim(); var EXPLICIT = (ASKED === 'mapbox' || ASKED === 'maplibre') ? ASKED : ''; var HAS_TOKEN = !!(directToken || (typeof window.MAP_TOKEN === 'string' && window.MAP_TOKEN)); diff --git a/public/dx-maps/regions-dashboard/regions-list/index.html b/public/dx-maps/regions-dashboard/regions-list/index.html index 143c361e4..07d17f393 100644 --- a/public/dx-maps/regions-dashboard/regions-list/index.html +++ b/public/dx-maps/regions-dashboard/regions-list/index.html @@ -162,10 +162,11 @@ if (urlTk) { try { localStorage.setItem('MAPS_STAGING_TK', urlTk); } catch (e) {} } var directToken = (BASE_CONFIG && BASE_CONFIG.tk) || urlTk || stored || HOST_TOKEN || BAKED_TOKEN; // PROVIDER — the same ladder as resolveMapProvider (library/composables/useMapProvider.js): - // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins. - // 'auto' = Mapbox when a token is available (a rung above, a host-set window.MAP_TOKEN, or a token - // endpoint to ask), otherwise MapLibre, keyless: no token prompt, no request to Mapbox. The - // element decides the same way from the token this page hands it, so the two cannot disagree. + // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins, + // and 'auto' draws with MapLibre whether or not a token is available (the element decides that). + // This page only decides whether to FIND a token first: when one is on offer (a rung above, a + // host-set window.MAP_TOKEN, or a token endpoint) it resolves it, since place search uses it on + // either engine; with none, it mounts at once, keyless: no token prompt, no request to Mapbox. var ASKED = String((BASE_CONFIG && BASE_CONFIG.provider) || qp('provider') || window.MAP_PROVIDER || '').toLowerCase().trim(); var EXPLICIT = (ASKED === 'mapbox' || ASKED === 'maplibre') ? ASKED : ''; var HAS_TOKEN = !!(directToken || (typeof window.MAP_TOKEN === 'string' && window.MAP_TOKEN)); diff --git a/public/dx-maps/regions-dashboard/regions-mfe/index.html b/public/dx-maps/regions-dashboard/regions-mfe/index.html index 242f3c4f2..568e0fef0 100644 --- a/public/dx-maps/regions-dashboard/regions-mfe/index.html +++ b/public/dx-maps/regions-dashboard/regions-mfe/index.html @@ -173,10 +173,11 @@ if (urlTk) { try { localStorage.setItem('MAPS_STAGING_TK', urlTk); } catch (e) {} } var directToken = (BASE_CONFIG && BASE_CONFIG.tk) || urlTk || stored || HOST_TOKEN || BAKED_TOKEN; // PROVIDER — the same ladder as resolveMapProvider (library/composables/useMapProvider.js): - // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins. - // 'auto' = Mapbox when a token is available (a rung above, a host-set window.MAP_TOKEN, or a token - // endpoint to ask), otherwise MapLibre, keyless: no token prompt, no request to Mapbox. The - // element decides the same way from the token this page hands it, so the two cannot disagree. + // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins, + // and 'auto' draws with MapLibre whether or not a token is available (the element decides that). + // This page only decides whether to FIND a token first: when one is on offer (a rung above, a + // host-set window.MAP_TOKEN, or a token endpoint) it resolves it, since place search uses it on + // either engine; with none, it mounts at once, keyless: no token prompt, no request to Mapbox. var ASKED = String((BASE_CONFIG && BASE_CONFIG.provider) || qp('provider') || window.MAP_PROVIDER || '').toLowerCase().trim(); var EXPLICIT = (ASKED === 'mapbox' || ASKED === 'maplibre') ? ASKED : ''; var HAS_TOKEN = !!(directToken || (typeof window.MAP_TOKEN === 'string' && window.MAP_TOKEN)); diff --git a/public/dx-maps/research-dashboard/research-dashboard/index.html b/public/dx-maps/research-dashboard/research-dashboard/index.html index cc4c81565..4537fafd6 100644 --- a/public/dx-maps/research-dashboard/research-dashboard/index.html +++ b/public/dx-maps/research-dashboard/research-dashboard/index.html @@ -166,10 +166,11 @@ if (urlTk) { try { localStorage.setItem('MAPS_STAGING_TK', urlTk); } catch (e) {} } var directToken = (BASE_CONFIG && BASE_CONFIG.tk) || urlTk || stored || HOST_TOKEN || BAKED_TOKEN; // PROVIDER — the same ladder as resolveMapProvider (library/composables/useMapProvider.js): - // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins. - // 'auto' = Mapbox when a token is available (a rung above, a host-set window.MAP_TOKEN, or a token - // endpoint to ask), otherwise MapLibre, keyless: no token prompt, no request to Mapbox. The - // element decides the same way from the token this page hands it, so the two cannot disagree. + // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins, + // and 'auto' draws with MapLibre whether or not a token is available (the element decides that). + // This page only decides whether to FIND a token first: when one is on offer (a rung above, a + // host-set window.MAP_TOKEN, or a token endpoint) it resolves it, since place search uses it on + // either engine; with none, it mounts at once, keyless: no token prompt, no request to Mapbox. var ASKED = String((BASE_CONFIG && BASE_CONFIG.provider) || qp('provider') || window.MAP_PROVIDER || '').toLowerCase().trim(); var EXPLICIT = (ASKED === 'mapbox' || ASKED === 'maplibre') ? ASKED : ''; var HAS_TOKEN = !!(directToken || (typeof window.MAP_TOKEN === 'string' && window.MAP_TOKEN)); diff --git a/public/dx-maps/research-map-plus-grid/research-map-plus-grid/default/index.html b/public/dx-maps/research-map-plus-grid/research-map-plus-grid/default/index.html index 6efdb56d4..c41d953c9 100644 --- a/public/dx-maps/research-map-plus-grid/research-map-plus-grid/default/index.html +++ b/public/dx-maps/research-map-plus-grid/research-map-plus-grid/default/index.html @@ -173,10 +173,11 @@ if (urlTk) { try { localStorage.setItem('MAPS_STAGING_TK', urlTk); } catch (e) {} } var directToken = (BASE_CONFIG && BASE_CONFIG.tk) || urlTk || stored || HOST_TOKEN || BAKED_TOKEN; // PROVIDER — the same ladder as resolveMapProvider (library/composables/useMapProvider.js): - // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins. - // 'auto' = Mapbox when a token is available (a rung above, a host-set window.MAP_TOKEN, or a token - // endpoint to ask), otherwise MapLibre, keyless: no token prompt, no request to Mapbox. The - // element decides the same way from the token this page hands it, so the two cannot disagree. + // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins, + // and 'auto' draws with MapLibre whether or not a token is available (the element decides that). + // This page only decides whether to FIND a token first: when one is on offer (a rung above, a + // host-set window.MAP_TOKEN, or a token endpoint) it resolves it, since place search uses it on + // either engine; with none, it mounts at once, keyless: no token prompt, no request to Mapbox. var ASKED = String((BASE_CONFIG && BASE_CONFIG.provider) || qp('provider') || window.MAP_PROVIDER || '').toLowerCase().trim(); var EXPLICIT = (ASKED === 'mapbox' || ASKED === 'maplibre') ? ASKED : ''; var HAS_TOKEN = !!(directToken || (typeof window.MAP_TOKEN === 'string' && window.MAP_TOKEN)); diff --git a/public/dx-maps/research-map-plus-grid/research-map-plus-grid/index.html b/public/dx-maps/research-map-plus-grid/research-map-plus-grid/index.html index 5337ab271..5d0b4195b 100644 --- a/public/dx-maps/research-map-plus-grid/research-map-plus-grid/index.html +++ b/public/dx-maps/research-map-plus-grid/research-map-plus-grid/index.html @@ -173,10 +173,11 @@ if (urlTk) { try { localStorage.setItem('MAPS_STAGING_TK', urlTk); } catch (e) {} } var directToken = (BASE_CONFIG && BASE_CONFIG.tk) || urlTk || stored || HOST_TOKEN || BAKED_TOKEN; // PROVIDER — the same ladder as resolveMapProvider (library/composables/useMapProvider.js): - // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins. - // 'auto' = Mapbox when a token is available (a rung above, a host-set window.MAP_TOKEN, or a token - // endpoint to ask), otherwise MapLibre, keyless: no token prompt, no request to Mapbox. The - // element decides the same way from the token this page hands it, so the two cannot disagree. + // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins, + // and 'auto' draws with MapLibre whether or not a token is available (the element decides that). + // This page only decides whether to FIND a token first: when one is on offer (a rung above, a + // host-set window.MAP_TOKEN, or a token endpoint) it resolves it, since place search uses it on + // either engine; with none, it mounts at once, keyless: no token prompt, no request to Mapbox. var ASKED = String((BASE_CONFIG && BASE_CONFIG.provider) || qp('provider') || window.MAP_PROVIDER || '').toLowerCase().trim(); var EXPLICIT = (ASKED === 'mapbox' || ASKED === 'maplibre') ? ASKED : ''; var HAS_TOKEN = !!(directToken || (typeof window.MAP_TOKEN === 'string' && window.MAP_TOKEN)); diff --git a/public/dx-maps/stack-demo/stack-demo/index.html b/public/dx-maps/stack-demo/stack-demo/index.html index 1b8decf95..7f054a492 100644 --- a/public/dx-maps/stack-demo/stack-demo/index.html +++ b/public/dx-maps/stack-demo/stack-demo/index.html @@ -173,10 +173,11 @@ if (urlTk) { try { localStorage.setItem('MAPS_STAGING_TK', urlTk); } catch (e) {} } var directToken = (BASE_CONFIG && BASE_CONFIG.tk) || urlTk || stored || HOST_TOKEN || BAKED_TOKEN; // PROVIDER — the same ladder as resolveMapProvider (library/composables/useMapProvider.js): - // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins. - // 'auto' = Mapbox when a token is available (a rung above, a host-set window.MAP_TOKEN, or a token - // endpoint to ask), otherwise MapLibre, keyless: no token prompt, no request to Mapbox. The - // element decides the same way from the token this page hands it, so the two cannot disagree. + // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins, + // and 'auto' draws with MapLibre whether or not a token is available (the element decides that). + // This page only decides whether to FIND a token first: when one is on offer (a rung above, a + // host-set window.MAP_TOKEN, or a token endpoint) it resolves it, since place search uses it on + // either engine; with none, it mounts at once, keyless: no token prompt, no request to Mapbox. var ASKED = String((BASE_CONFIG && BASE_CONFIG.provider) || qp('provider') || window.MAP_PROVIDER || '').toLowerCase().trim(); var EXPLICIT = (ASKED === 'mapbox' || ASKED === 'maplibre') ? ASKED : ''; var HAS_TOKEN = !!(directToken || (typeof window.MAP_TOKEN === 'string' && window.MAP_TOKEN)); diff --git a/public/dx-maps/stack-demo/stack-demo/pair/index.html b/public/dx-maps/stack-demo/stack-demo/pair/index.html index 01ec7e6f4..3920e6b0d 100644 --- a/public/dx-maps/stack-demo/stack-demo/pair/index.html +++ b/public/dx-maps/stack-demo/stack-demo/pair/index.html @@ -173,10 +173,11 @@ if (urlTk) { try { localStorage.setItem('MAPS_STAGING_TK', urlTk); } catch (e) {} } var directToken = (BASE_CONFIG && BASE_CONFIG.tk) || urlTk || stored || HOST_TOKEN || BAKED_TOKEN; // PROVIDER — the same ladder as resolveMapProvider (library/composables/useMapProvider.js): - // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins. - // 'auto' = Mapbox when a token is available (a rung above, a host-set window.MAP_TOKEN, or a token - // endpoint to ask), otherwise MapLibre, keyless: no token prompt, no request to Mapbox. The - // element decides the same way from the token this page hands it, so the two cannot disagree. + // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins, + // and 'auto' draws with MapLibre whether or not a token is available (the element decides that). + // This page only decides whether to FIND a token first: when one is on offer (a rung above, a + // host-set window.MAP_TOKEN, or a token endpoint) it resolves it, since place search uses it on + // either engine; with none, it mounts at once, keyless: no token prompt, no request to Mapbox. var ASKED = String((BASE_CONFIG && BASE_CONFIG.provider) || qp('provider') || window.MAP_PROVIDER || '').toLowerCase().trim(); var EXPLICIT = (ASKED === 'mapbox' || ASKED === 'maplibre') ? ASKED : ''; var HAS_TOKEN = !!(directToken || (typeof window.MAP_TOKEN === 'string' && window.MAP_TOKEN)); diff --git a/public/dx-maps/upg-neighbor/upg-neighbor/bloom-cockpit/index.html b/public/dx-maps/upg-neighbor/upg-neighbor/bloom-cockpit/index.html index 0587f2024..e19c07df3 100644 --- a/public/dx-maps/upg-neighbor/upg-neighbor/bloom-cockpit/index.html +++ b/public/dx-maps/upg-neighbor/upg-neighbor/bloom-cockpit/index.html @@ -166,10 +166,11 @@ if (urlTk) { try { localStorage.setItem('MAPS_STAGING_TK', urlTk); } catch (e) {} } var directToken = (BASE_CONFIG && BASE_CONFIG.tk) || urlTk || stored || HOST_TOKEN || BAKED_TOKEN; // PROVIDER — the same ladder as resolveMapProvider (library/composables/useMapProvider.js): - // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins. - // 'auto' = Mapbox when a token is available (a rung above, a host-set window.MAP_TOKEN, or a token - // endpoint to ask), otherwise MapLibre, keyless: no token prompt, no request to Mapbox. The - // element decides the same way from the token this page hands it, so the two cannot disagree. + // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins, + // and 'auto' draws with MapLibre whether or not a token is available (the element decides that). + // This page only decides whether to FIND a token first: when one is on offer (a rung above, a + // host-set window.MAP_TOKEN, or a token endpoint) it resolves it, since place search uses it on + // either engine; with none, it mounts at once, keyless: no token prompt, no request to Mapbox. var ASKED = String((BASE_CONFIG && BASE_CONFIG.provider) || qp('provider') || window.MAP_PROVIDER || '').toLowerCase().trim(); var EXPLICIT = (ASKED === 'mapbox' || ASKED === 'maplibre') ? ASKED : ''; var HAS_TOKEN = !!(directToken || (typeof window.MAP_TOKEN === 'string' && window.MAP_TOKEN)); diff --git a/public/dx-maps/upg-neighbor/upg-neighbor/flower-mesh/index.html b/public/dx-maps/upg-neighbor/upg-neighbor/flower-mesh/index.html index 0587f2024..e19c07df3 100644 --- a/public/dx-maps/upg-neighbor/upg-neighbor/flower-mesh/index.html +++ b/public/dx-maps/upg-neighbor/upg-neighbor/flower-mesh/index.html @@ -166,10 +166,11 @@ if (urlTk) { try { localStorage.setItem('MAPS_STAGING_TK', urlTk); } catch (e) {} } var directToken = (BASE_CONFIG && BASE_CONFIG.tk) || urlTk || stored || HOST_TOKEN || BAKED_TOKEN; // PROVIDER — the same ladder as resolveMapProvider (library/composables/useMapProvider.js): - // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins. - // 'auto' = Mapbox when a token is available (a rung above, a host-set window.MAP_TOKEN, or a token - // endpoint to ask), otherwise MapLibre, keyless: no token prompt, no request to Mapbox. The - // element decides the same way from the token this page hands it, so the two cannot disagree. + // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins, + // and 'auto' draws with MapLibre whether or not a token is available (the element decides that). + // This page only decides whether to FIND a token first: when one is on offer (a rung above, a + // host-set window.MAP_TOKEN, or a token endpoint) it resolves it, since place search uses it on + // either engine; with none, it mounts at once, keyless: no token prompt, no request to Mapbox. var ASKED = String((BASE_CONFIG && BASE_CONFIG.provider) || qp('provider') || window.MAP_PROVIDER || '').toLowerCase().trim(); var EXPLICIT = (ASKED === 'mapbox' || ASKED === 'maplibre') ? ASKED : ''; var HAS_TOKEN = !!(directToken || (typeof window.MAP_TOKEN === 'string' && window.MAP_TOKEN)); diff --git a/public/dx-maps/upg-neighbor/upg-neighbor/index.html b/public/dx-maps/upg-neighbor/upg-neighbor/index.html index 0664917a8..610cb6101 100644 --- a/public/dx-maps/upg-neighbor/upg-neighbor/index.html +++ b/public/dx-maps/upg-neighbor/upg-neighbor/index.html @@ -166,10 +166,11 @@ if (urlTk) { try { localStorage.setItem('MAPS_STAGING_TK', urlTk); } catch (e) {} } var directToken = (BASE_CONFIG && BASE_CONFIG.tk) || urlTk || stored || HOST_TOKEN || BAKED_TOKEN; // PROVIDER — the same ladder as resolveMapProvider (library/composables/useMapProvider.js): - // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins. - // 'auto' = Mapbox when a token is available (a rung above, a host-set window.MAP_TOKEN, or a token - // endpoint to ask), otherwise MapLibre, keyless: no token prompt, no request to Mapbox. The - // element decides the same way from the token this page hands it, so the two cannot disagree. + // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins, + // and 'auto' draws with MapLibre whether or not a token is available (the element decides that). + // This page only decides whether to FIND a token first: when one is on offer (a rung above, a + // host-set window.MAP_TOKEN, or a token endpoint) it resolves it, since place search uses it on + // either engine; with none, it mounts at once, keyless: no token prompt, no request to Mapbox. var ASKED = String((BASE_CONFIG && BASE_CONFIG.provider) || qp('provider') || window.MAP_PROVIDER || '').toLowerCase().trim(); var EXPLICIT = (ASKED === 'mapbox' || ASKED === 'maplibre') ? ASKED : ''; var HAS_TOKEN = !!(directToken || (typeof window.MAP_TOKEN === 'string' && window.MAP_TOKEN)); diff --git a/public/dx-maps/upg-neighbor/upg-neighbor/lang-cluster/index.html b/public/dx-maps/upg-neighbor/upg-neighbor/lang-cluster/index.html index 44df2648f..ef1fe9986 100644 --- a/public/dx-maps/upg-neighbor/upg-neighbor/lang-cluster/index.html +++ b/public/dx-maps/upg-neighbor/upg-neighbor/lang-cluster/index.html @@ -166,10 +166,11 @@ if (urlTk) { try { localStorage.setItem('MAPS_STAGING_TK', urlTk); } catch (e) {} } var directToken = (BASE_CONFIG && BASE_CONFIG.tk) || urlTk || stored || HOST_TOKEN || BAKED_TOKEN; // PROVIDER — the same ladder as resolveMapProvider (library/composables/useMapProvider.js): - // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins. - // 'auto' = Mapbox when a token is available (a rung above, a host-set window.MAP_TOKEN, or a token - // endpoint to ask), otherwise MapLibre, keyless: no token prompt, no request to Mapbox. The - // element decides the same way from the token this page hands it, so the two cannot disagree. + // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins, + // and 'auto' draws with MapLibre whether or not a token is available (the element decides that). + // This page only decides whether to FIND a token first: when one is on offer (a rung above, a + // host-set window.MAP_TOKEN, or a token endpoint) it resolves it, since place search uses it on + // either engine; with none, it mounts at once, keyless: no token prompt, no request to Mapbox. var ASKED = String((BASE_CONFIG && BASE_CONFIG.provider) || qp('provider') || window.MAP_PROVIDER || '').toLowerCase().trim(); var EXPLICIT = (ASKED === 'mapbox' || ASKED === 'maplibre') ? ASKED : ''; var HAS_TOKEN = !!(directToken || (typeof window.MAP_TOKEN === 'string' && window.MAP_TOKEN)); diff --git a/public/dx-maps/upg-neighbor/upg-neighbor/send-map/index.html b/public/dx-maps/upg-neighbor/upg-neighbor/send-map/index.html index 0587f2024..e19c07df3 100644 --- a/public/dx-maps/upg-neighbor/upg-neighbor/send-map/index.html +++ b/public/dx-maps/upg-neighbor/upg-neighbor/send-map/index.html @@ -166,10 +166,11 @@ if (urlTk) { try { localStorage.setItem('MAPS_STAGING_TK', urlTk); } catch (e) {} } var directToken = (BASE_CONFIG && BASE_CONFIG.tk) || urlTk || stored || HOST_TOKEN || BAKED_TOKEN; // PROVIDER — the same ladder as resolveMapProvider (library/composables/useMapProvider.js): - // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins. - // 'auto' = Mapbox when a token is available (a rung above, a host-set window.MAP_TOKEN, or a token - // endpoint to ask), otherwise MapLibre, keyless: no token prompt, no request to Mapbox. The - // element decides the same way from the token this page hands it, so the two cannot disagree. + // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins, + // and 'auto' draws with MapLibre whether or not a token is available (the element decides that). + // This page only decides whether to FIND a token first: when one is on offer (a rung above, a + // host-set window.MAP_TOKEN, or a token endpoint) it resolves it, since place search uses it on + // either engine; with none, it mounts at once, keyless: no token prompt, no request to Mapbox. var ASKED = String((BASE_CONFIG && BASE_CONFIG.provider) || qp('provider') || window.MAP_PROVIDER || '').toLowerCase().trim(); var EXPLICIT = (ASKED === 'mapbox' || ASKED === 'maplibre') ? ASKED : ''; var HAS_TOKEN = !!(directToken || (typeof window.MAP_TOKEN === 'string' && window.MAP_TOKEN)); diff --git a/public/dx-maps/upg-neighbor/upg-neighbor/upg-neighbors/index.html b/public/dx-maps/upg-neighbor/upg-neighbor/upg-neighbors/index.html index cf2db026e..58f0b320b 100644 --- a/public/dx-maps/upg-neighbor/upg-neighbor/upg-neighbors/index.html +++ b/public/dx-maps/upg-neighbor/upg-neighbor/upg-neighbors/index.html @@ -166,10 +166,11 @@ if (urlTk) { try { localStorage.setItem('MAPS_STAGING_TK', urlTk); } catch (e) {} } var directToken = (BASE_CONFIG && BASE_CONFIG.tk) || urlTk || stored || HOST_TOKEN || BAKED_TOKEN; // PROVIDER — the same ladder as resolveMapProvider (library/composables/useMapProvider.js): - // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins. - // 'auto' = Mapbox when a token is available (a rung above, a host-set window.MAP_TOKEN, or a token - // endpoint to ask), otherwise MapLibre, keyless: no token prompt, no request to Mapbox. The - // element decides the same way from the token this page hands it, so the two cannot disagree. + // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins, + // and 'auto' draws with MapLibre whether or not a token is available (the element decides that). + // This page only decides whether to FIND a token first: when one is on offer (a rung above, a + // host-set window.MAP_TOKEN, or a token endpoint) it resolves it, since place search uses it on + // either engine; with none, it mounts at once, keyless: no token prompt, no request to Mapbox. var ASKED = String((BASE_CONFIG && BASE_CONFIG.provider) || qp('provider') || window.MAP_PROVIDER || '').toLowerCase().trim(); var EXPLICIT = (ASKED === 'mapbox' || ASKED === 'maplibre') ? ASKED : ''; var HAS_TOKEN = !!(directToken || (typeof window.MAP_TOKEN === 'string' && window.MAP_TOKEN)); diff --git a/public/dx-maps/wall-of-people-groups/wall-of-people-groups/index.html b/public/dx-maps/wall-of-people-groups/wall-of-people-groups/index.html index ccf746f6e..9911bfa77 100644 --- a/public/dx-maps/wall-of-people-groups/wall-of-people-groups/index.html +++ b/public/dx-maps/wall-of-people-groups/wall-of-people-groups/index.html @@ -162,10 +162,11 @@ if (urlTk) { try { localStorage.setItem('MAPS_STAGING_TK', urlTk); } catch (e) {} } var directToken = (BASE_CONFIG && BASE_CONFIG.tk) || urlTk || stored || HOST_TOKEN || BAKED_TOKEN; // PROVIDER — the same ladder as resolveMapProvider (library/composables/useMapProvider.js): - // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins. - // 'auto' = Mapbox when a token is available (a rung above, a host-set window.MAP_TOKEN, or a token - // endpoint to ask), otherwise MapLibre, keyless: no token prompt, no request to Mapbox. The - // element decides the same way from the token this page hands it, so the two cannot disagree. + // profile-config.provider → ?provider= → window.MAP_PROVIDER → 'auto'. An explicit engine wins, + // and 'auto' draws with MapLibre whether or not a token is available (the element decides that). + // This page only decides whether to FIND a token first: when one is on offer (a rung above, a + // host-set window.MAP_TOKEN, or a token endpoint) it resolves it, since place search uses it on + // either engine; with none, it mounts at once, keyless: no token prompt, no request to Mapbox. var ASKED = String((BASE_CONFIG && BASE_CONFIG.provider) || qp('provider') || window.MAP_PROVIDER || '').toLowerCase().trim(); var EXPLICIT = (ASKED === 'mapbox' || ASKED === 'maplibre') ? ASKED : ''; var HAS_TOKEN = !!(directToken || (typeof window.MAP_TOKEN === 'string' && window.MAP_TOKEN));