Add local MapLibre glyph fonts under web and use them in OSM Liberty style.
CI / test (push) Successful in 4s
CI / test (push) Successful in 4s
Commit bundled PBF font ranges in web/fonts and point the style glyph template to local files to avoid external glyph 404s. Made-with: Cursor
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
}
|
||||
},
|
||||
"sprite": "./sprites/osm-liberty",
|
||||
"glyphs": "https://fonts.openmaptiles.org/{fontstack}/{range}.pbf",
|
||||
"glyphs": "../fonts/map-fonts/{fontstack}/{range}.pbf",
|
||||
"layers": [
|
||||
{
|
||||
"id": "background",
|
||||
|
||||
Reference in New Issue
Block a user