Consolidate to a single map output location (per Driver): remove the stale flat public/js/*.js bundles and move the drop-in to public/js/doxa-maps-build/. Rewired useDoxaMap to /js/doxa-maps-build/doxa-maps/<bundle>/<bundle>.js and fixed page comments.
1.1 KiB
1.1 KiB
doxa-maps-build — embeddable maps (drop-in)
Pre-built, self-contained map web components. Drop this folder onto any static host and
every map is embeddable via a <script> tag or an <iframe> — no build step on the host.
Embed a map (web component)
<script src="/doxa-maps-build/doxa-maps/<bundle>/<bundle>.js"></script>
<bundle-tag profile-config='{"profile":"<profile>","tk":"YOUR_MAPBOX_TOKEN"}'></bundle-tag>
Or embed via iframe (the generated page)
<iframe src="/doxa-maps-build/doxa-maps/<bundle>/<profile>/index.html"
width="100%" height="600" style="border:none;border-radius:12px;" allowfullscreen></iframe>
Contents
doxa-maps/<bundle>/<bundle>.js— one self-contained web-component bundle per mapdoxa-maps/<bundle>/<profile>/index.html— a standalone embeddable page per mapdoxa-maps/manifest.json— machine-readable index of bundles/profiles (+ SRI hashes)assets/— shared previews, boundaries, and table vendor assets
Generated by the doxa-maps JAMstack bundler (separate repo). To update, drop a fresh build here.