Skip to content

Commit

Permalink
renamed the basemap from osm-liberty to navigatum-basemap
Browse files Browse the repository at this point in the history
  • Loading branch information
CommanderStorm committed Sep 24, 2024
1 parent c1827ad commit 662273d
Show file tree
Hide file tree
Showing 10 changed files with 19 additions and 3,436 deletions.
7 changes: 0 additions & 7 deletions map/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,6 @@ You can use it to edit the style and see the changes live.
},
```

```diff
},
- "sprite": "{style}",
+ "sprite": "https://nav.tum.de/maps/styles/osm-liberty/sprite",
"glyphs": "https://nav.tum.de/tiles/font/{fontstack}/{range}",
```

To edit the style you thus need to run maputnik and tileserver-gl at the same time.
Change the style to the version maputnik expects.
You cannot preview the style in tileserver-gl, but you can see the changes in maputnik.
Expand Down
20 changes: 15 additions & 5 deletions map/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,24 @@
"styles": "styles",
"mbtiles": ""
},
"domains": ["nav.tum.de", "localhost:8080", "127.0.0.1:8080"],
"domains": [
"nav.tum.de",
"localhost:8080",
"127.0.0.1:8080"
],
"formatQuality": {
"jpeg": 80,
"webp": 90
},
"maxScaleFactor": 2,
"minRendererPoolSizes": [2, 4],
"maxRendererPoolSizes": [2, 4],
"minRendererPoolSizes": [
2,
4
],
"maxRendererPoolSizes": [
2,
4
],
"maxSize": 2048,
"pbfAlias": "pbf",
"serveAllFonts": true,
Expand All @@ -23,8 +33,8 @@
"tileMargin": 0
},
"styles": {
"osm-liberty": {
"style": "osm-liberty.json",
"navigatum-basemap": {
"style": "navigatum-basemap.json",
"serve_rendered": true,
"serve_data": true,
"tilejson": {
Expand Down
Loading

0 comments on commit 662273d

Please sign in to comment.