Repository navigation
|
In every instance where lowercase 'j' is used on my map, it renders super thin, regardless of what characters it is surrounded by. Have tried different fonts and it is consistent across all of the ones I've tried so far. This seems to only occur for lowercase 'j' - no other characters are affected. Has anyone encountered this and/or know a fix? Currently reading about text generation in maplibre to see if I can get anywhere, though it's a bit dense for what feels like a small issue.
|
Replies: 2 comments 1 reply
|
I remember a similar bug with j, let me see if I can find the relevant issue/s. |
|
My issue seemed to stem from file paths in the style json file - this resolved the issue with 'j', as well as adding other missing details i.e. shields behind US interstate numbers, route signs. I was using a modified version of the json retrieved from https://tiles.openfreemap.org/styles/liberty (as in, copying its contents to a new file and importing it):
I switched to setting mapStyle to the link above and used methods like map.removeLayer, map.setLayerZoomRange, etc. to make the modifications to the map style that I had done in MapData.json:
|

My issue seemed to stem from file paths in the style json file - this resolved the issue with 'j', as well as adding other missing details i.e. shields behind US interstate numbers, route signs.
I was using a modified version of the json retrieved from https://tiles.openfreemap.org/styles/liberty (as in, copying its contents to a new file and importing it):
import * as mapData from MapData.json; var mapStyle = { version: mapData.version, sources: mapData.sources, layers: mapData.layers };I switched to setting mapStyle to the link above and used methods like map.removeLayer, map.setLayerZoomRange, etc. to make the modifications to the map style that I had done in MapData.json:
var mapStyl…