1
votes

I'd like to use the here maps vector tiles in a mapbox gl app. However, in order to do so, I need to define a style.json, see here for the spec, and here for an example.

Does here have a base style.json that I can use?

On the examples page, where using Mapbox is discussed, the documentation simply says: style: "map_style.json", // you should use your own style. It's a bit of a PITA (pain in the a**) to build from scratch, though.

Thanks for any help.

1
I'm not sure why they don't write about mapboxgl.accessToken which required to use mapbox's style and map, it seems like you should create your own map and styles then insert composite source in the source of the style. - Chase Choi
@ChaseChoi The Mapbox accessToken is only needed if you use Mapbox map tiles or some other resources from Mapbox styles. This case is for a 3rd party tile server. - Fredrik Blomqvist

1 Answers

0
votes

map_style.json -

this could be different for different use case and plain "JSON" file. This needs to be according to the map properties that needs to be displayed to use the other container style.