How to add layers on Mapbox?
JianXinyu opened this issue · comments
Xinyu Jian commented
Hi, I'd like to load a layer using Three.js. Mapbox supports Three.js layer. How to use mapbox.addLayer() in Streetscape.gl? Thank you!
Timothy Wojtaszek commented
We use mapbox via the react-map-gl package. The LogViewer does have a onMapLoad()
callback, which a pass-through from the StaticMap from react-map-gl.
Maybe this can help?
Also, it may be worth checking out https://deck.gl/docs/api-reference/mapbox/overview