I want to change layer color with every click of a button. So far I have been able to do lots working with the layer object alone, for example
schools= this.map.getLayer("schools"). However, there are no methods for dealing with the symbology on the layer object.
I've seen documentation for changing symbology of graphics layers, however. But I'm not sure how to implement that from where I am now. How do I reference a graphics layer from my layer and access the fill methods? Or am I misunderstanding these objects to begin with?