Skip to content

Commit

Permalink
Fix sprites and fonts urls
Browse files Browse the repository at this point in the history
  • Loading branch information
bchapuis committed Oct 29, 2023
1 parent f641d94 commit 8587081
Show file tree
Hide file tree
Showing 13 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion public/demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ <h2><i class="far fa-map"></i> Baremaps</h2>
// 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,
Expand Down
2 changes: 1 addition & 1 deletion public/mapStyles/achromatomaly.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/mapStyles/achromatopsia.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/mapStyles/dark.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/mapStyles/default.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/mapStyles/deuteranomaly.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/mapStyles/deuteranopia.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/mapStyles/light.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/mapStyles/protanomaly.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/mapStyles/protanopia.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/mapStyles/tritanomaly.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/mapStyles/tritanopia.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions public/style.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
},
Expand Down

0 comments on commit 8587081

Please sign in to comment.