Change a layer’s color with buttons

Use setPaintProperty to change a layer’s fill color.







      
      
An extension of MapLibre GL JS

Was this helpful?