15 lines
482 B
TypeScript
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';
|