Skip to content

v0.3.1: credit the basemap on the 3D map - #5

Merged
yamierick merged 1 commit into
mainfrom
v0.3.1-credit
Oct 1, 2026
Merged

yamierick merged 1 commit into
mainfrom
v0.3.1-credit

Conversation

@yamierick

Copy link
Copy Markdown
Contributor

OpenStreetMap and CARTO require their credit where the map is shown. The 3D page had it only in the panel footnote, with MapLibre's own credit control off because its stylesheet isn't loaded (the Artifact host allows stylesheets from Google Fonts only).

  • A small credit strip in the map's bottom-right corner links to both copyright pages (page.BASEMAP_CREDIT). It is hidden when the page falls back to a plain ground, which draws no basemap.
  • The card and the phone-width legend sit 10 px higher to clear it.
  • New test: the 3D page carries both links and the strip; the 2D page (no basemap) has no strip.
  • Browser-checked on Tarrant's map: dark and light basemaps, a pinned card, and phone width (no overlap, no sideways scroll), with no console errors. The embedded data is identical to v0.3.0.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@yamierick
yamierick merged commit 31e102f into main Oct 1, 2026
1 check passed
@yamierick
yamierick deleted the v0.3.1-credit branch October 1, 2026 19:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant