Updating data on mapbox without updating the whole map

Hi,

My idea is to load a map, and then with checkboxes you should be able to click on information you want showed on the map.

So the question is, after loading the map - is it then possible to update the map with the information the user wants.
Or would I have to reload the whole map that includes the new chosen data?

If I have to reload the whole map, is it then possible to keep the map at the exact same view before and after reloading?

I haven’t tried with the default Plotly map tools, but you can do it with Dash Leaflet. You can attach callback to the properties of any element of the map and update it that way. In example 1 here,

the tile layers are changed by radio buttons.