streetscape.gl
streetscape.gl copied to clipboard
How to add layers on Mapbox?
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!
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