Skip to content

HTML map: don't show a background layer when there is none available - #245

Merged
jampukka merged 1 commit into
nlsfi:mainfrom
jampukka:html-background-map-198
Oct 22, 2026
Merged

jampukka merged 1 commit into
nlsfi:mainfrom
jampukka:html-background-map-198

Conversation

@jampukka

@jampukka jampukka commented Oct 22, 2026 •

Copy link
Copy Markdown
Collaborator

Geographic CRSs and EPSG:3857 get OpenStreetMap by default; other CRSs get a tile layer only when formats.html.<srid>.tileUrl is configured, otherwise only the geometries are drawn. EPSG:3857 is now plotted correctly. Adds EPSG:3879 (ETRS-GK25) as an example without tiles to docker/cfg.

Related to #198

…s the CRS (nlsfi#198)

Geographic CRSs and EPSG:3857 get OpenStreetMap by default; other CRSs get a
tile layer only when formats.html.<srid>.tileUrl is configured, otherwise only
the geometries are drawn. EPSG:3857 is now plotted correctly. Adds an EPSG:3879
(ETRS-GK25) example without tiles to docker/cfg.
@jampukka
jampukka merged commit 0c272b1 into nlsfi:main Oct 22, 2026
2 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.

1 participant