Skip to content

tile: OSMConfig BaseURL, Attribution, MaxZoom - #83

Merged
mike-ward merged 1 commit into
mainfrom
osm-baseurl-82
Oct 1, 2026
Merged

mike-ward merged 1 commit into
mainfrom
osm-baseurl-82

Conversation

@mike-ward

Copy link
Copy Markdown
Collaborator

Closes #82.

Point the OSM source at a self-hosted slippy-tile server with the standard {z}/{x}/{y}.png layout via OSMConfig.BaseURL (trailing slash added, empty keeps tile.openstreetmap.org). OSMConfig.Attribution and MaxZoom override the credit line and zoom cap; blank/zero keep the OSM defaults and attribution stays non-hideable per tile policy.

Includes README section, CHANGELOG entry, and tests for URL shaping, fetch path, attribution fallback, and zoom defaults.

@mike-ward
mike-ward merged commit db0e46a into main Oct 1, 2026
3 checks passed
@mike-ward
mike-ward deleted the osm-baseurl-82 branch October 1, 2026 13:39
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.

Custom URL for OSM source

1 participant