Skip to content

Commit 81b0405

Browse files
authored
Merge pull request #244 from stamen/add-more-tonerz
add new Toner styles and update local.example.js
2 parents c42c800 + a572f84 commit 81b0405

File tree

3 files changed

+50
-2
lines changed

3 files changed

+50
-2
lines changed

dist/bundle.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/config/gh-pages.js

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,22 @@ const stylePresets = [
2525
},
2626
{
2727
id: 'stamen-toner-lite',
28-
name: 'Stamen Toner (Lite)',
28+
name: 'Stamen Toner Lite',
2929
type: 'maplibre-gl',
3030
url: 'https://tiles.stadiamaps.com/styles/stamen_toner_lite.json',
3131
},
32+
{
33+
id: 'stamen-toner-dark',
34+
name: 'Stamen Toner Dark',
35+
type: 'maplibre-gl',
36+
url: 'https://tiles.stadiamaps.com/styles/stamen_toner_dark.json',
37+
},
38+
{
39+
id: 'stamen-toner-blacklite',
40+
name: 'Stamen Toner Blacklite',
41+
type: 'maplibre-gl',
42+
url: 'https://tiles.stadiamaps.com/styles/stamen_toner_blacklite.json',
43+
},
3244
{
3345
name: 'Stamen Raster Layers',
3446
type: 'sublist',

public/config/local.example.js

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,42 @@ const gazetteer = {
2323
};
2424

2525
const stylePresets = [
26+
{
27+
id: 'stamen-watercolor',
28+
name: 'Stamen Watercolor',
29+
type: 'leaflet',
30+
url: 'https://watercolormaps.collection.cooperhewitt.org/tile/watercolor/{z}/{x}/{y}.jpg',
31+
},
32+
{
33+
id: 'stamen-terrain',
34+
name: 'Stamen Terrain',
35+
type: 'maplibre-gl',
36+
url: 'https://tiles.stadiamaps.com/styles/stamen_terrain.json',
37+
},
38+
{
39+
id: 'stamen-toner',
40+
name: 'Stamen Toner',
41+
type: 'maplibre-gl',
42+
url: 'https://tiles.stadiamaps.com/styles/stamen_toner.json',
43+
},
44+
{
45+
id: 'stamen-toner-lite',
46+
name: 'Stamen Toner Lite',
47+
type: 'maplibre-gl',
48+
url: 'https://tiles.stadiamaps.com/styles/stamen_toner_lite.json',
49+
},
50+
{
51+
id: 'stamen-toner-dark',
52+
name: 'Stamen Toner Dark',
53+
type: 'maplibre-gl',
54+
url: 'https://tiles.stadiamaps.com/styles/stamen_toner_dark.json',
55+
},
56+
{
57+
id: 'stamen-toner-blacklite',
58+
name: 'Stamen Toner Blacklite',
59+
type: 'maplibre-gl',
60+
url: 'https://tiles.stadiamaps.com/styles/stamen_toner_blacklite.json',
61+
},
2662
{
2763
id: 'mapbox-streets',
2864
name: 'Mapbox Streets',

0 commit comments

Comments
 (0)