Regression: Missing autocomplete/list of available fonts
Maputnik version: current https://maplibre.org/maputnik/ Browser: Chrome / Firefox OS: Windows
Description of the bug: There's no autocomplete/list of available fonts anymore.
based on eg.
fonts.json-> https://s3-eu-west-1.amazonaws.com/tiles.os.uk/v2/fonts.jsonglyphs.json->https://orangemug.github.io/font-glyphs/glyphs.json
Steps to reproduce the behavior:
- Open OSM Liberty with https://maputnik.github.io/editor (v1.7.0) and https://maplibre.org/maputnik/
- Edit the
Fontfield of the layerstate
Screenshots:
Any chance you could take a stab at this and see what's causing this issue and open a PR to fix it?
@pathmapper what is your glyphs part of your map-style?
Note that Martin will publish all available fonts as part of the /catalog API. We should release a new version shortly with this capability.
@CommanderStorm -> https://github.com/maputnik/osm-liberty/blob/c6b3d0a9d649c9a158d8f3983ebb98e955797917/style.json#L24
The style provided works and is accessing this file correctly. 🤷🏻 Am I doing something wrong/different?
For me it currently works in Chrome, not in Firefox.
Which firefox version? is there something in the console / ...
It seems it doesn't depend on the browser, but it's dependent on the style which is loaded previously.
I can reproduce the issue with Firefox and Chrome by first opening the style "Americana" and then "OSM Liberty":