Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regression: Missing autocomplete/list of available fonts #945

Open
pathmapper opened this issue Sep 30, 2024 · 8 comments
Open

Regression: Missing autocomplete/list of available fonts #945

pathmapper opened this issue Sep 30, 2024 · 8 comments

Comments

@pathmapper
Copy link
Contributor

pathmapper commented Sep 30, 2024

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.

Steps to reproduce the behavior:

  1. Open OSM Liberty with https://maputnik.github.io/editor (v1.7.0) and https://maplibre.org/maputnik/
  2. Edit the Font field of the layer state

Screenshots:
grafik

@HarelM
Copy link
Collaborator

HarelM commented Sep 30, 2024

Any chance you could take a stab at this and see what's causing this issue and open a PR to fix it?

@CommanderStorm
Copy link

@pathmapper what is your glyphs part of your map-style?

@nyurik
Copy link
Member

nyurik commented Dec 15, 2024

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
Copy link

Image

The style provided works and is accessing this file correctly. 🤷🏻
Am I doing something wrong/different?

@pathmapper
Copy link
Contributor Author

For me it currently works in Chrome, not in Firefox.

@CommanderStorm
Copy link

Image

Which firefox version? is there something in the console / ...

@pathmapper
Copy link
Contributor Author

pathmapper commented Dec 17, 2024

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":

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants