This is an automated email from the ASF dual-hosted git repository.

bchapuis pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-baremaps-site.git


The following commit(s) were added to refs/heads/main by this push:
     new 8587081  Fix sprites and fonts urls
8587081 is described below

commit 858708153e80e7ff47c58c9d40beefa9a35cd4bd
Author: Bertil Chapuis <[email protected]>
AuthorDate: Sun Oct 29 15:27:30 2023 +0100

    Fix sprites and fonts urls
---
 public/demo.html                    | 2 +-
 public/mapStyles/achromatomaly.json | 2 +-
 public/mapStyles/achromatopsia.json | 2 +-
 public/mapStyles/dark.json          | 2 +-
 public/mapStyles/default.json       | 2 +-
 public/mapStyles/deuteranomaly.json | 2 +-
 public/mapStyles/deuteranopia.json  | 2 +-
 public/mapStyles/light.json         | 2 +-
 public/mapStyles/protanomaly.json   | 2 +-
 public/mapStyles/protanopia.json    | 2 +-
 public/mapStyles/tritanomaly.json   | 2 +-
 public/mapStyles/tritanopia.json    | 2 +-
 public/style.json                   | 4 ++--
 13 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/public/demo.html b/public/demo.html
index a424044..c179239 100644
--- a/public/demo.html
+++ b/public/demo.html
@@ -67,7 +67,7 @@
   // Initialize the map
   var map = new mapboxgl.Map({
     container: 'map',
-    style: 'https://tiles.baremaps.com/style.json',
+    style: 'https://baremaps.apache.org/style.json',
     center: [6.5743, 46.5189],
     zoom: 14,
     minZoom: 6,
diff --git a/public/mapStyles/achromatomaly.json 
b/public/mapStyles/achromatomaly.json
index a0c2fdb..d2f6a47 100644
--- a/public/mapStyles/achromatomaly.json
+++ b/public/mapStyles/achromatomaly.json
@@ -1 +1 @@
-{"version":8,"name":"OpenStreetMapVecto","sources":{"baremaps":{"type":"vector","url":"https://demo.baremaps.com/tiles.json"}},"sprite":"https://tiles.baremaps.com/sprites/osm/sprite","glyphs":"https://tiles.baremaps.com/fonts/{fontstack}/{range}.pbf","layers":[{"id":"background","type":"background","source":"baremaps","layout":{"visibility":"visible"},"minzoom":0,"maxzoom":24,"paint":{"background-color":"rgb(240.482,239.117,236.154)"}},{"id":"power_plant","type":"fill","filter":["any",[
 [...]
\ No newline at end of file
+{"version":8,"name":"OpenStreetMapVecto","sources":{"baremaps":{"type":"vector","url":"https://demo.baremaps.com/tiles.json"}},"sprite":"https://baremaps.apache.org/sprites/osm/sprite","glyphs":"https://baremaps.apache.org/fonts/{fontstack}/{range}.pbf","layers":[{"id":"background","type":"background","source":"baremaps","layout":{"visibility":"visible"},"minzoom":0,"maxzoom":24,"paint":{"background-color":"rgb(240.482,239.117,236.154)"}},{"id":"power_plant","type":"fill","filter":["any"
 [...]
\ No newline at end of file
diff --git a/public/mapStyles/achromatopsia.json 
b/public/mapStyles/achromatopsia.json
index 7e7670a..27a1078 100644
--- a/public/mapStyles/achromatopsia.json
+++ b/public/mapStyles/achromatopsia.json
@@ -1 +1 @@
-{"version":8,"name":"OpenStreetMapVecto","sources":{"baremaps":{"type":"vector","url":"https://demo.baremaps.com/tiles.json"}},"sprite":"https://tiles.baremaps.com/sprites/osm/sprite","glyphs":"https://tiles.baremaps.com/fonts/{fontstack}/{range}.pbf","layers":[{"id":"background","type":"background","source":"baremaps","layout":{"visibility":"visible"},"minzoom":0,"maxzoom":24,"paint":{"background-color":"rgb(239.213,239.213,239.213)"}},{"id":"power_plant","type":"fill","filter":["any",[
 [...]
\ No newline at end of file
+{"version":8,"name":"OpenStreetMapVecto","sources":{"baremaps":{"type":"vector","url":"https://demo.baremaps.com/tiles.json"}},"sprite":"https://baremaps.apache.org/sprites/osm/sprite","glyphs":"https://baremaps.apache.org/fonts/{fontstack}/{range}.pbf","layers":[{"id":"background","type":"background","source":"baremaps","layout":{"visibility":"visible"},"minzoom":0,"maxzoom":24,"paint":{"background-color":"rgb(239.213,239.213,239.213)"}},{"id":"power_plant","type":"fill","filter":["any"
 [...]
\ No newline at end of file
diff --git a/public/mapStyles/dark.json b/public/mapStyles/dark.json
index 64d4e21..40dba59 100644
--- a/public/mapStyles/dark.json
+++ b/public/mapStyles/dark.json
@@ -1 +1 @@
-{"version":8,"name":"OpenStreetMapVecto","sources":{"baremaps":{"type":"vector","url":"https://demo.baremaps.com/tiles.json"}},"sprite":"https://tiles.baremaps.com/sprites/osm/sprite","glyphs":"https://tiles.baremaps.com/fonts/{fontstack}/{range}.pbf","layers":[{"id":"background","type":"background","source":"baremaps","layout":{"visibility":"visible"},"minzoom":0,"maxzoom":24,"paint":{"background-color":"rgb(0,0,0)"}},{"id":"power_plant","type":"fill","filter":["any",["==","power","plan
 [...]
\ No newline at end of file
+{"version":8,"name":"OpenStreetMapVecto","sources":{"baremaps":{"type":"vector","url":"https://demo.baremaps.com/tiles.json"}},"sprite":"https://baremaps.apache.org/sprites/osm/sprite","glyphs":"https://baremaps.apache.org/fonts/{fontstack}/{range}.pbf","layers":[{"id":"background","type":"background","source":"baremaps","layout":{"visibility":"visible"},"minzoom":0,"maxzoom":24,"paint":{"background-color":"rgb(0,0,0)"}},{"id":"power_plant","type":"fill","filter":["any",["==","power","pl
 [...]
\ No newline at end of file
diff --git a/public/mapStyles/default.json b/public/mapStyles/default.json
index 9073860..9bfd0ee 100644
--- a/public/mapStyles/default.json
+++ b/public/mapStyles/default.json
@@ -1 +1 @@
-{"version":8,"name":"OpenStreetMapVecto","sources":{"baremaps":{"type":"vector","url":"https://demo.baremaps.com/tiles.json"}},"sprite":"https://tiles.baremaps.com/sprites/osm/sprite","glyphs":"https://tiles.baremaps.com/fonts/{fontstack}/{range}.pbf","layers":[{"id":"background","type":"background","source":"baremaps","layout":{"visibility":"visible"},"minzoom":0,"maxzoom":24,"paint":{"background-color":"rgb(242,
 239, 233)"}},{"id":"power_plant","type":"fill","filter":["any",["==","powe 
[...]
\ No newline at end of file
+{"version":8,"name":"OpenStreetMapVecto","sources":{"baremaps":{"type":"vector","url":"https://demo.baremaps.com/tiles.json"}},"sprite":"https://baremaps.apache.org/sprites/osm/sprite","glyphs":"https://baremaps.apache.org/fonts/{fontstack}/{range}.pbf","layers":[{"id":"background","type":"background","source":"baremaps","layout":{"visibility":"visible"},"minzoom":0,"maxzoom":24,"paint":{"background-color":"rgb(242,
 239, 233)"}},{"id":"power_plant","type":"fill","filter":["any",["==","po [...]
\ No newline at end of file
diff --git a/public/mapStyles/deuteranomaly.json 
b/public/mapStyles/deuteranomaly.json
index 42d745e..d2c09c2 100644
--- a/public/mapStyles/deuteranomaly.json
+++ b/public/mapStyles/deuteranomaly.json
@@ -1 +1 @@
-{"version":8,"name":"OpenStreetMapVecto","sources":{"baremaps":{"type":"vector","url":"https://demo.baremaps.com/tiles.json"}},"sprite":"https://tiles.baremaps.com/sprites/osm/sprite","glyphs":"https://tiles.baremaps.com/fonts/{fontstack}/{range}.pbf","layers":[{"id":"background","type":"background","source":"baremaps","layout":{"visibility":"visible"},"minzoom":0,"maxzoom":24,"paint":{"background-color":"rgb(241.40000000000003,239.774,233.85199999999998)"}},{"id":"power_plant","type":"f
 [...]
\ No newline at end of file
+{"version":8,"name":"OpenStreetMapVecto","sources":{"baremaps":{"type":"vector","url":"https://demo.baremaps.com/tiles.json"}},"sprite":"https://baremaps.apache.org/sprites/osm/sprite","glyphs":"https://baremaps.apache.org/fonts/{fontstack}/{range}.pbf","layers":[{"id":"background","type":"background","source":"baremaps","layout":{"visibility":"visible"},"minzoom":0,"maxzoom":24,"paint":{"background-color":"rgb(241.40000000000003,239.774,233.85199999999998)"}},{"id":"power_plant","type":
 [...]
\ No newline at end of file
diff --git a/public/mapStyles/deuteranopia.json 
b/public/mapStyles/deuteranopia.json
index 47e1cb8..020c544 100644
--- a/public/mapStyles/deuteranopia.json
+++ b/public/mapStyles/deuteranopia.json
@@ -1 +1 @@
-{"version":8,"name":"OpenStreetMapVecto","sources":{"baremaps":{"type":"vector","url":"https://demo.baremaps.com/tiles.json"}},"sprite":"https://tiles.baremaps.com/sprites/osm/sprite","glyphs":"https://tiles.baremaps.com/fonts/{fontstack}/{range}.pbf","layers":[{"id":"background","type":"background","source":"baremaps","layout":{"visibility":"visible"},"minzoom":0,"maxzoom":24,"paint":{"background-color":"rgb(240.875,241.09999999999997,234.8)"}},{"id":"power_plant","type":"fill","filter"
 [...]
\ No newline at end of file
+{"version":8,"name":"OpenStreetMapVecto","sources":{"baremaps":{"type":"vector","url":"https://demo.baremaps.com/tiles.json"}},"sprite":"https://baremaps.apache.org/sprites/osm/sprite","glyphs":"https://baremaps.apache.org/fonts/{fontstack}/{range}.pbf","layers":[{"id":"background","type":"background","source":"baremaps","layout":{"visibility":"visible"},"minzoom":0,"maxzoom":24,"paint":{"background-color":"rgb(240.875,241.09999999999997,234.8)"}},{"id":"power_plant","type":"fill","filte
 [...]
\ No newline at end of file
diff --git a/public/mapStyles/light.json b/public/mapStyles/light.json
index cfe5720..0c45a6a 100644
--- a/public/mapStyles/light.json
+++ b/public/mapStyles/light.json
@@ -1 +1 @@
-{"version":8,"name":"OpenStreetMapVecto","sources":{"baremaps":{"type":"vector","url":"https://demo.baremaps.com/tiles.json"}},"sprite":"https://tiles.baremaps.com/sprites/osm/sprite","glyphs":"https://tiles.baremaps.com/fonts/{fontstack}/{range}.pbf","layers":[{"id":"background","type":"background","source":"baremaps","layout":{"visibility":"visible"},"minzoom":0,"maxzoom":24,"paint":{"background-color":"rgb(255,255,255)"}},{"id":"power_plant","type":"fill","filter":["any",["==","power"
 [...]
\ No newline at end of file
+{"version":8,"name":"OpenStreetMapVecto","sources":{"baremaps":{"type":"vector","url":"https://demo.baremaps.com/tiles.json"}},"sprite":"https://baremaps.apache.org/sprites/osm/sprite","glyphs":"https://baremaps.apache.org/fonts/{fontstack}/{range}.pbf","layers":[{"id":"background","type":"background","source":"baremaps","layout":{"visibility":"visible"},"minzoom":0,"maxzoom":24,"paint":{"background-color":"rgb(255,255,255)"}},{"id":"power_plant","type":"fill","filter":["any",["==","powe
 [...]
\ No newline at end of file
diff --git a/public/mapStyles/protanomaly.json 
b/public/mapStyles/protanomaly.json
index fc47018..0cd10c3 100644
--- a/public/mapStyles/protanomaly.json
+++ b/public/mapStyles/protanomaly.json
@@ -1 +1 @@
-{"version":8,"name":"OpenStreetMapVecto","sources":{"baremaps":{"type":"vector","url":"https://demo.baremaps.com/tiles.json"}},"sprite":"https://tiles.baremaps.com/sprites/osm/sprite","glyphs":"https://tiles.baremaps.com/fonts/{fontstack}/{range}.pbf","layers":[{"id":"background","type":"background","source":"baremaps","layout":{"visibility":"visible"},"minzoom":0,"maxzoom":24,"paint":{"background-color":"rgb(241.451,239.99900000000002,233.75)"}},{"id":"power_plant","type":"fill","filter
 [...]
\ No newline at end of file
+{"version":8,"name":"OpenStreetMapVecto","sources":{"baremaps":{"type":"vector","url":"https://demo.baremaps.com/tiles.json"}},"sprite":"https://baremaps.apache.org/sprites/osm/sprite","glyphs":"https://baremaps.apache.org/fonts/{fontstack}/{range}.pbf","layers":[{"id":"background","type":"background","source":"baremaps","layout":{"visibility":"visible"},"minzoom":0,"maxzoom":24,"paint":{"background-color":"rgb(241.451,239.99900000000002,233.75)"}},{"id":"power_plant","type":"fill","filt
 [...]
\ No newline at end of file
diff --git a/public/mapStyles/protanopia.json b/public/mapStyles/protanopia.json
index 4c7339b..185ca2a 100644
--- a/public/mapStyles/protanopia.json
+++ b/public/mapStyles/protanopia.json
@@ -1 +1 @@
-{"version":8,"name":"OpenStreetMapVecto","sources":{"baremaps":{"type":"vector","url":"https://demo.baremaps.com/tiles.json"}},"sprite":"https://tiles.baremaps.com/sprites/osm/sprite","glyphs":"https://tiles.baremaps.com/fonts/{fontstack}/{range}.pbf","layers":[{"id":"background","type":"background","source":"baremaps","layout":{"visibility":"visible"},"minzoom":0,"maxzoom":24,"paint":{"background-color":"rgb(240.701,240.674,234.452)"}},{"id":"power_plant","type":"fill","filter":["any",[
 [...]
\ No newline at end of file
+{"version":8,"name":"OpenStreetMapVecto","sources":{"baremaps":{"type":"vector","url":"https://demo.baremaps.com/tiles.json"}},"sprite":"https://baremaps.apache.org/sprites/osm/sprite","glyphs":"https://baremaps.apache.org/fonts/{fontstack}/{range}.pbf","layers":[{"id":"background","type":"background","source":"baremaps","layout":{"visibility":"visible"},"minzoom":0,"maxzoom":24,"paint":{"background-color":"rgb(240.701,240.674,234.452)"}},{"id":"power_plant","type":"fill","filter":["any"
 [...]
\ No newline at end of file
diff --git a/public/mapStyles/tritanomaly.json 
b/public/mapStyles/tritanomaly.json
index 6f3ce54..4a181a4 100644
--- a/public/mapStyles/tritanomaly.json
+++ b/public/mapStyles/tritanomaly.json
@@ -1 +1 @@
-{"version":8,"name":"OpenStreetMapVecto","sources":{"baremaps":{"type":"vector","url":"https://demo.baremaps.com/tiles.json"}},"sprite":"https://tiles.baremaps.com/sprites/osm/sprite","glyphs":"https://tiles.baremaps.com/fonts/{fontstack}/{range}.pbf","layers":[{"id":"background","type":"background","source":"baremaps","layout":{"visibility":"visible"},"minzoom":0,"maxzoom":24,"paint":{"background-color":"rgb(241.90099999999998,237.398,234.09799999999998)"}},{"id":"power_plant","type":"f
 [...]
\ No newline at end of file
+{"version":8,"name":"OpenStreetMapVecto","sources":{"baremaps":{"type":"vector","url":"https://demo.baremaps.com/tiles.json"}},"sprite":"https://baremaps.apache.org/sprites/osm/sprite","glyphs":"https://baremaps.apache.org/fonts/{fontstack}/{range}.pbf","layers":[{"id":"background","type":"background","source":"baremaps","layout":{"visibility":"visible"},"minzoom":0,"maxzoom":24,"paint":{"background-color":"rgb(241.90099999999998,237.398,234.09799999999998)"}},{"id":"power_plant","type":
 [...]
\ No newline at end of file
diff --git a/public/mapStyles/tritanopia.json b/public/mapStyles/tritanopia.json
index 5868adb..a4c0485 100644
--- a/public/mapStyles/tritanopia.json
+++ b/public/mapStyles/tritanopia.json
@@ -1 +1 @@
-{"version":8,"name":"OpenStreetMapVecto","sources":{"baremaps":{"type":"vector","url":"https://demo.baremaps.com/tiles.json"}},"sprite":"https://tiles.baremaps.com/sprites/osm/sprite","glyphs":"https://tiles.baremaps.com/fonts/{fontstack}/{range}.pbf","layers":[{"id":"background","type":"background","source":"baremaps","layout":{"visibility":"visible"},"minzoom":0,"maxzoom":24,"paint":{"background-color":"rgb(241.84999999999997,235.59799999999998,235.85)"}},{"id":"power_plant","type":"fi
 [...]
\ No newline at end of file
+{"version":8,"name":"OpenStreetMapVecto","sources":{"baremaps":{"type":"vector","url":"https://demo.baremaps.com/tiles.json"}},"sprite":"https://baremaps.apache.org/sprites/osm/sprite","glyphs":"https://baremaps.apache.org/fonts/{fontstack}/{range}.pbf","layers":[{"id":"background","type":"background","source":"baremaps","layout":{"visibility":"visible"},"minzoom":0,"maxzoom":24,"paint":{"background-color":"rgb(241.84999999999997,235.59799999999998,235.85)"}},{"id":"power_plant","type":"
 [...]
\ No newline at end of file
diff --git a/public/style.json b/public/style.json
index 1554fb4..8db80bd 100644
--- a/public/style.json
+++ b/public/style.json
@@ -2,13 +2,13 @@
   "id" : "baremaps",
   "version" : 8,
   "sprite" : "",
-  "glyphs" : "https://tiles.baremaps.com/fonts/{fontstack}/{range}.pbf";,
+  "glyphs" : "https://baremaps.apache.org/fonts/{fontstack}/{range}.pbf";,
   "sources" : {
     "baremaps" : {
       "bounds" : [ 5.8358, 45.6591, 10.9794, 47.87 ],
       "maxZoom" : 14.0,
       "minZoom" : 6.0,
-      "tiles" : [ "https://tiles.baremaps.com/2021-01-03/{z}/{x}/{y}.pbf"; ],
+      "tiles" : [ "https://baremaps.apache.org/2021-01-03/{z}/{x}/{y}.pbf"; ],
       "type" : "vector"
     }
   },

Reply via email to