Skip to content

Commit

Permalink
Switch to Toner
Browse files Browse the repository at this point in the history
  • Loading branch information
almccon committed Jul 16, 2024
1 parent 4dadfb3 commit b1a3f29
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
container: 'map',
hash: true,
style:
'https://tiles.stadiamaps.com/styles/stamen_terrain_background.json',
'https://tiles.stadiamaps.com/styles/stamen_toner.json',
center: target,
maxZoom: 23.5,
zoom: 18
Expand Down Expand Up @@ -168,7 +168,7 @@
type: "symbol",
source: "null-island-nixta-label-point",
minzoom: 9,
maxzoom: 12,
maxzoom: 13,
layout: {
"symbol-placement": "point",
"text-font": ["Inter Regular"],
Expand All @@ -183,14 +183,15 @@
]
},
paint: {
"text-color": "white",
"text-opacity": [
'interpolate',
['linear'],
['zoom'],
9, 0,
10, 1,
11, 1,
12, 0
12, 1,
13, 0
]
}
});
Expand Down

0 comments on commit b1a3f29

Please sign in to comment.