Every map profile's copy-paste snippet began with a preload of api.mapbox.com's mapbox-gl.js, while its own profile-config said provider "maplibre", and since 2026-09-28 only an explicit provider "mapbox" selects Mapbox. So an unedited paste downloaded the Mapbox engine on every view, never used it, and made a Mapbox request from a keyless page. Its only guard was a stale comment asking the partner to delete the line. - embed.script now preloads MapLibre's script and stylesheet, pinned the way useMapInstance loads them so the preloads are reused, and its note points a host who wants Mapbox at the variant. - embed.scriptMapbox is that variant: the Mapbox preloads and the same element with "provider":"mapbox". - check:snippet-engine (gates:post, with a self-test) reads the built manifest: no default snippet names api.mapbox.com, every map snippet preloads MapLibre, and every Mapbox variant preloads Mapbox and sets its provider. Planted: the old snippet and a provider-less variant both fail. |
||
|---|---|---|
| .. | ||
| dx-maps | ||
| README.md | ||
public/ — the built output
This folder is GENERATED by bun run build; do not edit it by hand. It holds exactly one thing:
dx-maps/— the output folder: 25 plugin bundles and 37 pages, self-contained. Copy this one folder to any web host (or open it from disk) and it works.dx-maps/index.html— the front page: the Plugin Studio, every plugin in one place.dx-maps/<plugin>/<plugin>.js— a plugin's bundle (a custom element; load it with a<script>tag).dx-maps/<plugin>/<page>/index.html— a ready-made page for one plugin view (embed it in an<iframe>).dx-maps/manifest.json— every plugin, page and embed snippet, machine-readable.dx-maps/assets/— the data, fonts and images the plugins fetch at runtime.
The folder's name comes from name in vite.doxa-maps-build-config.json. Sources live in
plugin-designs/, library/ and data/; rm -rf public/ && bun run build recreates all of this.