You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This would make it easier to to use local GeoJSON sources on the client side together with layers from Mapbox Studio. In Studio you can't create local GeoJSON source layers so you need to use a dummy source, which requires swapping out on the client side.
The text was updated successfully, but these errors were encountered:
Yep, swapping out geojson can be a pain in the a$$, setData() feels kind of a hack.. would really appreciate a way to swap out geojson..
maybe something like: map.setSource('layer-id', <some geosjon>)
This would let you change a layer's source. Currently you need to
This would make it easier to to use local GeoJSON sources on the client side together with layers from Mapbox Studio. In Studio you can't create local GeoJSON source layers so you need to use a dummy source, which requires swapping out on the client side.
The text was updated successfully, but these errors were encountered: