Skip to content

Fix broken 'North Sea Region' heightmap preset (restore Europe North)#1529

Merged
Azgaar merged 1 commit into
Azgaar:masterfrom
barrulus:upstream-europe-north-heightmap
Jul 11, 2026
Merged

Fix broken 'North Sea Region' heightmap preset (restore Europe North)#1529
Azgaar merged 1 commit into
Azgaar:masterfrom
barrulus:upstream-europe-north-heightmap

Conversation

@barrulus

Copy link
Copy Markdown
Contributor

PR #1493 renamed the id-11 precreated heightmap key from europe-north to north-sea-region (and updated defineMapSize), but the image file was left as public/heightmaps/europe-north.png. Since both the selector thumbnail and map generation load the image via ./heightmaps/${id}.png, the preset now requests the non-existent ./heightmaps/north-sea-region.png — so it renders a broken image in the selector and cannot generate.

This restores the europe-north key / Europe North name (matching the existing image filename) and replaces the image with a heightmap that actually covers northern Europe (Scandinavia + Iceland), rather than the previous UK/North-Sea-centric one. That resolves the naming discussion behind #1493 while fixing the broken image path in one change.

Changes

  • public/config/precreated-heightmaps.jsnorth-sea-regioneurope-north (name "Europe North")
  • public/main.jsdefineMapSize() template check updated to europe-north
  • public/heightmaps/europe-north.png — new northern-Europe heightmap (Scandinavia + Iceland)

Testing

Generated a map from the preset: landmasses fill the frame correctly (Scandinavia, Iceland, Britain) and the climate gradient (arctic north → temperate south) matches the region.

The id-11 precreated heightmap key was renamed from "europe-north" to
"north-sea-region" in Azgaar#1493, but the image file stayed europe-north.png.
Both the selector thumbnail and map generation request
./heightmaps/north-sea-region.png (via ./heightmaps/${id}.png), which
does not exist, so the preset shows a broken image and fails to generate.

Restore the "Europe North" name/key and swap in a heightmap that covers
northern Europe (Scandinavia + Iceland), which also fixes the broken
image path.
@netlify

netlify Bot commented Jul 10, 2026

Copy link
Copy Markdown

Deploy Preview for afmg ready!

Name Link
🔨 Latest commit 63850c1
🔍 Latest deploy log https://app.netlify.com/projects/afmg/deploys/6a50f4e96c9bfc000857d5a9
😎 Deploy Preview https://deploy-preview-1529--afmg.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@Azgaar Azgaar merged commit a747404 into Azgaar:master Jul 11, 2026
7 checks passed
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.

2 participants