Skip to content

Commit

Permalink
migrated the style to use the newer sprite server
Browse files Browse the repository at this point in the history
  • Loading branch information
CommanderStorm committed Sep 24, 2024
1 parent c3bf0c7 commit c1827ad
Showing 1 changed file with 27 additions and 26 deletions.
53 changes: 27 additions & 26 deletions map/styles/osm-liberty.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"type": "raster"
}
},
"sprite": "{style}",
"sprite": "https://nav.tum.de/tiles/sprite/sprites",
"glyphs": "https://nav.tum.de/tiles/font/{fontstack}/{range}",
"layers": [
{
Expand Down Expand Up @@ -2657,7 +2657,24 @@
],
"layout": {
"icon-image": "arrow",
"symbol-placement": "line"
"symbol-placement": "line",
"icon-optional": true,
"icon-size": {
"base": 1,
"stops": [
[
15.5,
0
],
[
20,
1
]
]
}
},
"paint": {
"icon-opacity": 0.5
}
},
{
Expand Down Expand Up @@ -3960,12 +3977,8 @@
],
"layout": {
"icon-image": [
"concat",
[
"get",
"class"
],
"_11"
"get",
"class"
],
"text-anchor": "top",
"text-field": [
Expand Down Expand Up @@ -4027,12 +4040,8 @@
],
"layout": {
"icon-image": [
"concat",
[
"get",
"class"
],
"_11"
"get",
"class"
],
"text-anchor": "top",
"text-field": [
Expand Down Expand Up @@ -4093,12 +4102,8 @@
],
"layout": {
"icon-image": [
"concat",
[
"get",
"class"
],
"_11"
"get",
"class"
],
"text-anchor": "top",
"text-field": [
Expand Down Expand Up @@ -4147,12 +4152,8 @@
],
"layout": {
"icon-image": [
"concat",
[
"get",
"class"
],
"_11"
"get",
"class"
],
"text-anchor": "left",
"text-field": [
Expand Down

0 comments on commit c1827ad

Please sign in to comment.