Running "mapbox-gl": "^0.53.1"
I want to update the color of a layer "type": "fill-extrusion" This is not just one feature that I select, but it might be a multitude of features that are altered (otherwise this highlight feature with click in mapbox gl solution might work). but adding a new layer is therefore not an option. This is what I tried - it obviously does not work.
this.map.on('click', 'grid-test', function (e) {
e.features[0].properties["color"] = "#ff00ff";
});
I have not found propper update methods that I can call to tell a layer to rerender. The other solution I see is to reset all the data - but I am still a bit reluctant to that solution. Coming from an OL background, I expect certain basic functions to exist.