Change a layer’s color with buttons

Use setPaintProperty to change a layer’s fill color.




    
JavaScript Maps API

Examples