Skip to content

Commit

Permalink
update maplibre fonts docs
Browse files Browse the repository at this point in the history
  • Loading branch information
bdon committed Nov 1, 2023
1 parent 4509d97 commit 8c6f753
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion basemaps/maplibre.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import layers from 'protomaps-themes-base';
```js
style: {
version:8,
glyphs:'https://cdn.protomaps.com/fonts/pbf/{fontstack}/{range}.pbf',
glyphs:'https://protomaps.github.io/basemaps-assets/fonts/{fontstack}/{range}.pbf',
sources: {
"protomaps": {
type: "vector",
Expand All @@ -37,3 +37,11 @@ the default export from `protomaps-themes-base` is a function that takes 2 argum

* the theme, one of `light`, `dark`, `white`, `black`, `grayscale` or `debug`.

## Fonts

The fonts referenced by the `glyphs` style key can be downloaded as a ZIP at the [basemaps-assets](http://github.com/protomaps/basemaps-assets) GitHub repository.

Valid font names are: `Noto Sans Regular`, `Noto Sans Medium`, `Noto Sans Italic`

Prior to version 2.0.0-alpha.3, the Glyphs URL was `https://cdn.protomaps.com/fonts/pbf/{fontstack}/{range}.pbf`.

0 comments on commit 8c6f753

Please sign in to comment.