From db6b9ac176142b30678714d1b3975d27f324582c Mon Sep 17 00:00:00 2001 From: orangemug Date: Thu, 20 Sep 2018 19:26:53 +0100 Subject: [PATCH 1/2] Added OS Open Zoomstack and styles --- src/config/styles.json | 24 ++++++++++++++++++++++++ src/config/tilesets.json | 5 +++++ 2 files changed, 29 insertions(+) diff --git a/src/config/styles.json b/src/config/styles.json index d89e3f3..502ff55 100644 --- a/src/config/styles.json +++ b/src/config/styles.json @@ -52,5 +52,29 @@ "title": "Mapbox Basic", "url": "https://rawgit.com/mapbox/mapbox-gl-styles/master/styles/basic-v9.json", "thumbnail": "https://maputnik.github.io/thumbnails/mapbox-basic.png" + }, + { + "id": "os-zoomstack-outdoor", + "title": "Zoomstack Outdoor", + "url": "https://s3-eu-west-1.amazonaws.com/tiles.os.uk/styles/open-zoomstack-outdoor/style.json", + "thumbnail": "https://maputnik.github.io/thumbnails/mapbox-basic.png" + }, + { + "id": "os-zoomstack-road", + "title": "Zoomstack Road", + "url": "https://s3-eu-west-1.amazonaws.com/tiles.os.uk/styles/open-zoomstack-road/style.json", + "thumbnail": "https://maputnik.github.io/thumbnails/mapbox-basic.png" + }, + { + "id": "os-zoomstack-light", + "title": "Zoomstack Light", + "url": "https://s3-eu-west-1.amazonaws.com/tiles.os.uk/styles/open-zoomstack-light/style.json", + "thumbnail": "https://maputnik.github.io/thumbnails/mapbox-basic.png" + }, + { + "id": "os-zoomstack-night", + "title": "Zoomstack Night", + "url": "https://s3-eu-west-1.amazonaws.com/tiles.os.uk/styles/open-zoomstack-night/style.json", + "thumbnail": "https://maputnik.github.io/thumbnails/mapbox-basic.png" } ] diff --git a/src/config/tilesets.json b/src/config/tilesets.json index 136963e..0b81da8 100644 --- a/src/config/tilesets.json +++ b/src/config/tilesets.json @@ -18,5 +18,10 @@ "type": "vector", "url": "https://tile.thunderforest.com/thunderforest.outdoors-v1.json?apikey={key}", "title": "Thunderforest Outdoors (heavy)" + }, + "open_zoomstack": { + "type": "vector", + "url": "https://s3-eu-west-1.amazonaws.com/tiles.os.uk/data/vector/open-zoomstack/config.json", + "title": "OS Open Zoomstack" } } From 8b0ae178b8fca41a2269c751a2ddcdccbd066f32 Mon Sep 17 00:00:00 2001 From: orangemug Date: Mon, 24 Sep 2018 21:17:41 +0100 Subject: [PATCH 2/2] Added in thumbnails --- src/config/styles.json | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/config/styles.json b/src/config/styles.json index 7a122b7..8f922f5 100644 --- a/src/config/styles.json +++ b/src/config/styles.json @@ -34,28 +34,29 @@ "title": "Empty Style", "url": "https://rawgit.com/maputnik/editor/master/src/config/empty-style.json", "thumbnail": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAECAQAAAAHDYbIAAAAEUlEQVR42mP8/58BDhiJ4wAA974H/U5Xe1oAAAAASUVORK5CYII=" + }, { "id": "os-zoomstack-outdoor", "title": "Zoomstack Outdoor", "url": "https://s3-eu-west-1.amazonaws.com/tiles.os.uk/styles/open-zoomstack-outdoor/style.json", - "thumbnail": "https://maputnik.github.io/thumbnails/mapbox-basic.png" + "thumbnail": "https://maputnik.github.io/thumbnails/os-zoomstack-outdoor.png" }, { "id": "os-zoomstack-road", "title": "Zoomstack Road", "url": "https://s3-eu-west-1.amazonaws.com/tiles.os.uk/styles/open-zoomstack-road/style.json", - "thumbnail": "https://maputnik.github.io/thumbnails/mapbox-basic.png" + "thumbnail": "https://maputnik.github.io/thumbnails/os-zoomstack-road.png" }, { "id": "os-zoomstack-light", "title": "Zoomstack Light", "url": "https://s3-eu-west-1.amazonaws.com/tiles.os.uk/styles/open-zoomstack-light/style.json", - "thumbnail": "https://maputnik.github.io/thumbnails/mapbox-basic.png" + "thumbnail": "https://maputnik.github.io/thumbnails/os-zoomstack-light.png" }, { "id": "os-zoomstack-night", "title": "Zoomstack Night", "url": "https://s3-eu-west-1.amazonaws.com/tiles.os.uk/styles/open-zoomstack-night/style.json", - "thumbnail": "https://maputnik.github.io/thumbnails/mapbox-basic.png" + "thumbnail": "https://maputnik.github.io/thumbnails/os-zoomstack-night.png" } ]