SkateSpots/src/lib/mapTiles.ts
SkateSpots 579dcddc1d
Some checks are pending
Deploy to GitHub Pages / deploy (push) Waiting to run
fix: restore orange brand icon and harden OSM tile cache
2026-11-01 23:32:29 +07:00

15 lines
482 B
TypeScript

/**
* OpenStreetMap basemap configuration.
*
* Keep the OSM tile provider. `osm-v2` intentionally changes the cache
* namespace so old cached "Access blocked" tiles are never reused; it does not
* change the tile source.
*/
export const MAP_TILE_URL =
'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png';
export const MAP_TILE_SUBDOMAINS = 'abc';
export const MAP_TILE_CACHE_NAMESPACE = 'osm-v2';
export const MAP_TILE_ATTRIBUTION = '© OpenStreetMap contributors';