From 9baf0ade7387f392f7fda36fad3160b93811fa74 Mon Sep 17 00:00:00 2001 From: pathmapper Date: Mon, 24 Sep 2018 11:29:58 +0200 Subject: [PATCH 1/2] Change glyphs URL --- style.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/style.json b/style.json index 8f3dbc3..c5cc754 100644 --- a/style.json +++ b/style.json @@ -20,7 +20,7 @@ } }, "sprite": "https://rawgit.com/maputnik/osm-liberty/gh-pages/sprites/osm-liberty", - "glyphs": "https://orangemug.github.io/font-glyphs/glyphs/{fontstack}/{range}.pbf", + "glyphs": "https://maps.tilehosting.com/fonts/{fontstack}/{range}.pbf?key={key}", "layers": [ { "id": "background", From 18f321e2edeff379ba2e565b810d626d55e972db Mon Sep 17 00:00:00 2001 From: pathmapper Date: Mon, 24 Sep 2018 11:44:36 +0200 Subject: [PATCH 2/2] Default for glyphs is now Maptiler Cloud --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1e22474..981d4b0 100644 --- a/README.md +++ b/README.md @@ -10,8 +10,8 @@ A free Mapbox GL basemap style for everyone with complete liberty to use and sel You can use the style in your Mapbox GL maps. -By default, the vector tiles are served from [Maptiler Cloud](https://www.maptiler.com/cloud/) and the raster tiles, glyphs and sprites directly from GitHub. -You would need to [subscribe](https://www.maptiler.com/cloud/plans) to Maptiler Cloud to get an access key and replace the placeholder {key} [here](https://github.com/maputnik/osm-liberty/blob/gh-pages/style.json#L19) with your own key. +By default, the vector tiles and glyphs are served from [Maptiler Cloud](https://www.maptiler.com/cloud/) and the raster tiles and sprites directly from GitHub. +You would need to [subscribe](https://www.maptiler.com/cloud/plans) to Maptiler Cloud to get an access key and replace the placeholder {key} for the [vector source](https://github.com/maputnik/osm-liberty/blob/gh-pages/style.json#L11) and [glyphs](https://github.com/maputnik/osm-liberty/blob/gh-pages/style.json#L23) with your own key. Another option is to create your own vector tiles with [OpenMapTiles](https://github.com/openmaptiles/openmaptiles) and host the tiles and assets yourself for complete liberty.