-
-
Notifications
You must be signed in to change notification settings - Fork 413
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
Font change breaks rendering and map interaction needed to update map view #395
Comments
So looking at the web inspector in chrome, it looks like I think we need to
|
After update
|
@orangemug
So the issue is the 404 status which breaks the map, and looking at the demonstration posted in this issue mapbox/mapbox-gl-js#7387 it seems like this is currently expected behaviour. |
Ok so I guess, we should just close this issue and wait for it to be fixed upstream? |
I'm pretty sure that upstream this (map breaks on font 404) is not considered as a bug, so likely this behaviour won't change. I think we have to deal with it on our side and here are two suggestions how to solve it:
or
In either way there should be a notification for the user if an invalid font name is used. Such a notification could be also done as outlined in #353. |
Fixed in #531 |
Style: https://maputnik.github.io/editor/?style=https://rawgit.com/maputnik/osm-liberty/gh-pages/style.json
Glyph URL:
https://orangemug.github.io/font-glyphs/glyphs/{fontstack}/{range}.pbf
(same behaviour for:
https://fonts.openmaptiles.org/{fontstack}/{range}.pbf
)For comparison:
Style: https://maputnik.github.io/editor/?style=https://raw.githubusercontent.com/openmaptiles/klokantech-basic-gl-style/master/style.json
Glyph URL:
https://free.tilehosting.com/fonts/{fontstack}/{range}.pbf?key={key}
Looks like a fallback font is served even if there is no fallback font referenced in the style for this layer.
The text was updated successfully, but these errors were encountered: