Use relative sprite URLs and a working glyph endpoint so MapLibre no longer requests missing /web/styles/* or /web/assets/fonts/* resources. Made-with: Cursor
This commit is contained in:
@@ -35,8 +35,8 @@
|
||||
"encoding": "mapbox"
|
||||
}
|
||||
},
|
||||
"sprite": "styles/osm-liberty-gl-style/sprites/osm-liberty",
|
||||
"glyphs": "assets/fonts/map-fonts/{fontstack}/{range}.pbf",
|
||||
"sprite": "./sprites/osm-liberty",
|
||||
"glyphs": "https://demotiles.maplibre.org/font/{fontstack}/{range}.pbf",
|
||||
"layers": [
|
||||
{
|
||||
"id": "background",
|
||||
|
||||
Reference in New Issue
Block a user