mirror of
https://github.com/maputnik/editor.git
synced 2026-08-25 06:27:25 +00:00
Add Stadia Outdoors style (#913)
* Adds the Stadia Outdoors style (anticipating the question: the MapLibre domain and localhost development are allowlisted) * Minor fixes to README as the npm commands seem to have changed slightly * Reorder the empty style to the beginning; seems the logical place for it to me, but open for discussion
This commit is contained in:
@@ -66,7 +66,8 @@ Lint the JavaScript code.
|
|||||||
```
|
```
|
||||||
# run linter
|
# run linter
|
||||||
npm run lint
|
npm run lint
|
||||||
npm run lint-styles
|
npm run lint-css
|
||||||
|
npm run sort-styles
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+12
-6
@@ -1,16 +1,16 @@
|
|||||||
[
|
[
|
||||||
|
{
|
||||||
|
"id": "0-empty-style",
|
||||||
|
"title": "Empty Style",
|
||||||
|
"url": "https://cdn.jsdelivr.net/gh/maputnik/editor@9cf74ca405d2be0608b57db8109cf3a6af5b9f49/src/config/empty-style.json",
|
||||||
|
"thumbnail": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAECAQAAAAHDYbIAAAAEUlEQVR42mP8/58BDhiJ4wAA974H/U5Xe1oAAAAASUVORK5CYII="
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"id": "dark-matter",
|
"id": "dark-matter",
|
||||||
"title": "Dark Matter",
|
"title": "Dark Matter",
|
||||||
"url": "https://cdn.jsdelivr.net/gh/openmaptiles/dark-matter-gl-style@v1.9/style.json",
|
"url": "https://cdn.jsdelivr.net/gh/openmaptiles/dark-matter-gl-style@v1.9/style.json",
|
||||||
"thumbnail": "https://maputnik.github.io/thumbnails/dark-matter.png"
|
"thumbnail": "https://maputnik.github.io/thumbnails/dark-matter.png"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"id": "empty-style",
|
|
||||||
"title": "Empty Style",
|
|
||||||
"url": "https://cdn.jsdelivr.net/gh/maputnik/editor@9cf74ca405d2be0608b57db8109cf3a6af5b9f49/src/config/empty-style.json",
|
|
||||||
"thumbnail": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAECAQAAAAHDYbIAAAAEUlEQVR42mP8/58BDhiJ4wAA974H/U5Xe1oAAAAASUVORK5CYII="
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"id": "maptiler-basic-gl-style",
|
"id": "maptiler-basic-gl-style",
|
||||||
"title": "Maptiler Basic",
|
"title": "Maptiler Basic",
|
||||||
@@ -65,6 +65,12 @@
|
|||||||
"url": "https://cdn.jsdelivr.net/gh/openmaptiles/positron-gl-style@v1.9/style.json",
|
"url": "https://cdn.jsdelivr.net/gh/openmaptiles/positron-gl-style@v1.9/style.json",
|
||||||
"thumbnail": "https://maputnik.github.io/thumbnails/positron.png"
|
"thumbnail": "https://maputnik.github.io/thumbnails/positron.png"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"id": "stadia-outdoors",
|
||||||
|
"title": "Stadia Outdoors",
|
||||||
|
"url": "https://tiles.stadiamaps.com/styles/outdoors.json",
|
||||||
|
"thumbnail": "https://tiles.stadiamaps.com/static/outdoors.png?size=480x320¢er=47.350259,8.49035&zoom=16"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"id": "versatiles-colorful",
|
"id": "versatiles-colorful",
|
||||||
"title": "Versatiles Colorful",
|
"title": "Versatiles Colorful",
|
||||||
|
|||||||
Reference in New Issue
Block a user