-
Notifications
You must be signed in to change notification settings - Fork 102
just Open Sans via glyphs link #6
Copy link
Copy link
Open
Description
When I add to my style:
'glyphs': 'https://free.tilehosting.com/fonts/{fontstack}/{range}.pbf',
I get error in the browser console:
mutation loadMap @ 14:26:40.179
:8089/#7.3/50.055/14.001:1 Failed to load https://free.tilehosting.com/fonts/Noto%20Sans%20Regular/0-255.pbf: Redirect from 'https://free.tilehosting.com/fonts/Noto%20Sans%20Regular/0-255.pbf' to 'https://openmaptiles.com/hosting/' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:8089' is therefore not allowed access.
When I add to my style:
'glyphs': 'https://free.tilehosting.com/fonts/{fontstack}/{range}.pbf?key={mySecretKey}',
the error is gone, but when changing fonts in the style just Open Sans is 'available/ shows'.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels