From 6e1e7f1e6faf081b3251afcd909a794f44aeb620 Mon Sep 17 00:00:00 2001 From: zstadler Date: Fri, 5 Jan 2024 09:34:18 +0200 Subject: [PATCH 1/3] Remove dependency on a commercial font-glyphs source Use the free [orangemug font-glyphs](https://orangemug.github.io/font-glyphs) instead of the MapTiler glyphs that require a key. --- style.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/style.json b/style.json index fcddffd..e55850a 100644 --- a/style.json +++ b/style.json @@ -21,7 +21,7 @@ } }, "sprite": "https://maputnik.github.io/osm-liberty/sprites/osm-liberty", - "glyphs": "https://api.maptiler.com/fonts/{fontstack}/{range}.pbf?key={key}", + "glyphs": "https://orangemug.github.io/font-glyphs/glyphs/{fontstack}/{range}.pbf", "layers": [ { "id": "background", From 49db0fa7b0366474a4f653e79ae4fdf7c24843e6 Mon Sep 17 00:00:00 2001 From: zstadler Date: Fri, 5 Jan 2024 10:23:42 +0200 Subject: [PATCH 2/3] Update README.md --- README.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 98ed2d6..56b01b5 100644 --- a/README.md +++ b/README.md @@ -2,19 +2,19 @@ OSM Liberty -A free Mapbox GL basemap style for everyone with complete liberty to use and self host. OSM Liberty is a fork of OSM Bright based on free data sources with a mission for a clear good looking design for the everyday user. It is based on the vector tile schema of [OpenMapTiles](https://github.com/openmaptiles/openmaptiles). +A free Maplibre and Mapbox GL basemap style for everyone with complete liberty to use and self host. OSM Liberty is a fork of OSM Bright based on free data sources with a mission for a clear good looking design for the everyday user. It is based on the vector tile schema of [OpenMapTiles](https://github.com/openmaptiles/openmaptiles). **[Preview OSM Liberty with Maputnik](https://maputnik.github.io/editor/?style=https://maputnik.github.io/osm-liberty/style.json)** ## Usage -You can use the style in your Mapbox GL maps. +You can use the style in your Maplibre and Mapbox GL maps. -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. +By default, the vector tiles are served from [Maptiler Cloud](https://www.maptiler.com/cloud/) and the relief shading, glyphs and sprites directly from GitHub. +You would need to create a [MapTiler](https://www.maptiler.com) account 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) 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. +Another option is to create your own vector tiles with [OpenMapTiles](https://github.com/openmaptiles/openmaptiles) and host the tiles yourself for complete liberty. ```html @@ -50,6 +50,7 @@ Another option is to create your own vector tiles with [OpenMapTiles](https://gi - [OpenMapTiles](http://openmaptiles.org/) as vector data source - [Natural Earth Tiles](https://klokantech.github.io/naturalearthtiles/) for relief shading - [Maki](https://www.mapbox.com/maki-icons/) as icon set +- [Orange Mug](https://github.com/orangemug/font-glyphs) as font glyphs ## Map Design From ccc6e9e96f59ff0e3422c7ede443178b71a2a9e2 Mon Sep 17 00:00:00 2001 From: zstadler Date: Fri, 5 Jan 2024 10:30:08 +0200 Subject: [PATCH 3/3] Update README.md Add another option to the MapTiler vector tiles --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 56b01b5..62e45d3 100644 --- a/README.md +++ b/README.md @@ -13,8 +13,9 @@ You can use the style in your Maplibre and Mapbox GL maps. By default, the vector tiles are served from [Maptiler Cloud](https://www.maptiler.com/cloud/) and the relief shading, glyphs and sprites directly from GitHub. You would need to create a [MapTiler](https://www.maptiler.com) account 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) with your own key. - -Another option is to create your own vector tiles with [OpenMapTiles](https://github.com/openmaptiles/openmaptiles) and host the tiles yourself for complete liberty. +Other options are: +- Create your own vector tiles with [OpenMapTiles](https://github.com/openmaptiles/openmaptiles) and host the tiles yourself for complete liberty. +- Use another vector tile source that is based on the vector tile schema of [OpenMapTiles](https://github.com/openmaptiles/openmaptiles) ```html