Update MapTiler URL
This commit is contained in:
parent
87cbe8ae72
commit
2e4e2c50e8
@ -66,7 +66,7 @@ if (process.env.THUNDERFOREST_API_KEY) {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
if (process.env.MAPTILER_API_KEY) {
|
if (process.env.MAPTILER_API_KEY) {
|
||||||
let mapTilerStreetsURL = 'https://maps.tilehosting.com/styles/streets/{z}/{x}/{y}.png';
|
let mapTilerStreetsURL = 'https://api.maptiler.com/maps/streets/{z}/{x}/{y}.png';
|
||||||
mapTilerStreetsURL += `?key=${process.env.MAPTILER_API_KEY}`;
|
mapTilerStreetsURL += `?key=${process.env.MAPTILER_API_KEY}`;
|
||||||
TILE_SERVERS['maptiler-streets'] = {
|
TILE_SERVERS['maptiler-streets'] = {
|
||||||
attribution: 'Tiles <a href="https://www.maptiler.com/license/maps/" target="_blank">© MapTiler</a>',
|
attribution: 'Tiles <a href="https://www.maptiler.com/license/maps/" target="_blank">© MapTiler</a>',
|
||||||
|
Loading…
Reference in New Issue
Block a user