Under MapLibre the attribution read "geoBoundaries · Mapbox · © OpenStreetMap" while the tiles came from OpenFreeMap. Crediting the wrong supplier is worse than crediting none: it is a false statement about whose work is on screen, and OpenFreeMap's terms ask for their credit. addMapAttribution hardcodes the Mapbox link whenever basemap is true and takes no engine, so the shared bar now credits geoBoundaries alone under MapLibre and the engine's own AttributionControl supplies the basemap line. Fixing the helper to take an engine belongs in library/ and goes to the build owner; this is the plugin-only half. Mapbox behaviour is untouched. The wording is read from the style, not restated here. OpenFreeMap's TileJSON carries the exact text — OpenFreeMap, © OpenMapTiles, data from OpenStreetMap — so a hand-typed copy would be one more thing to go stale the day they change it. Also corrects the comment on the load guard added last tick. It was written for a "MapLibre draws only the basemap" report that has since been retracted as a measurement artifact: polled properly, both engines draw 170 fills and 2,107 pins. The guard stays, because everything this map draws hangs off one callback and that race is real, but it repaired nothing and the code should not claim it did. |
||
|---|---|---|
| .. | ||
| 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: 23 plugin bundles and 35 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.