You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
doc(security-privacy.md): advice to use absolute URLs for glyphs and … (#118)
* doc(security-privacy.md): advice to use absolute URLs for glyphs and sprites in GDPR example
* doc(security-privacy.md): use better name for MapLibre
Co-authored-by: Oliver Wipfli <oliver.wipfli@leichteralsluft.ch>
* doc(security-privacy.md): fix typo
---------
Co-authored-by: Oliver Wipfli <oliver.wipfli@leichteralsluft.ch>
@@ -131,5 +131,7 @@ Below is a complete example of a map application that avoids third-party data pr
131
131
*`pmtiles.js` - JavaScript for decoding PMTiles archives in the browser.
132
132
*`basemaps.js` - JavaScript for creating a MapLibre GL style for a basemap tileset.
133
133
*`mapbox-gl-rtl-text.min.js` - MapLibre plugin for supporting right-to-left languages.
134
-
*`fonts/{fontstack}/{range}.pbf` - Font glyphs for rendering labels, available at [protomaps/basemaps-assets](https://github.com/protomaps/basemaps-assets).
135
-
*`sprites/{version/{flavor_name}` - Sprites for basemap icons, available at [protomaps/basemaps-assets](https://github.com/protomaps/basemaps-assets).
134
+
*`https://example.com/fonts/{fontstack}/{range}.pbf` - Font glyphs for rendering labels, available at [protomaps/basemaps-assets](https://github.com/protomaps/basemaps-assets).
135
+
*`https://example.com/sprites/{version/{flavor_name}` - Sprites for basemap icons, available at [protomaps/basemaps-assets](https://github.com/protomaps/basemaps-assets).
136
+
137
+
The URLs for glyphs and sprites must be absolute, in order to load the ressources correctly. This is due to the [behavior of MapLibre](https://github.com/maplibre/maplibre-gl-js/issues/182).
0 commit comments