Skip to content

Commit c9c9c30

Browse files
committed
fix map
1 parent 5502c6a commit c9c9c30

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

  • content/blog/rust-conferences-2026

content/blog/rust-conferences-2026/index.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -535,8 +535,10 @@ function initConferenceMap() {
535535
});
536536

537537
// Light and dark tile layers - using Stamen Toner from Stadia Maps
538+
const stadiaApiKey = '07e2d930-9008-40cb-aa03-2cdf13cf5e2f';
539+
538540
const lightLayer = L.tileLayer(
539-
'https://tiles.stadiamaps.com/tiles/stamen_toner_lite/{z}/{x}/{y}{r}.png',
541+
`https://tiles.stadiamaps.com/tiles/stamen_toner_lite/{z}/{x}/{y}{r}.png?api_key=${stadiaApiKey}`,
540542
{
541543
minZoom: 0,
542544
maxZoom: 20,
@@ -545,7 +547,7 @@ function initConferenceMap() {
545547
);
546548

547549
const darkLayer = L.tileLayer(
548-
'https://tiles.stadiamaps.com/tiles/stamen_toner/{z}/{x}/{y}{r}.png',
550+
`https://tiles.stadiamaps.com/tiles/stamen_toner/{z}/{x}/{y}{r}.png?api_key=${stadiaApiKey}`,
549551
{
550552
minZoom: 0,
551553
maxZoom: 20,

0 commit comments

Comments
 (0)