Skip to content
Discussion options

You must be logged in to vote

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…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@HarelM
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by Yonopoyx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants