I produce maps using Leaflet and the Esri Leaflet plugin.
Here is a MapService layer from the USGS pertaining to the risk of debris flow. Note that if attribute combhazcl=3 then this data is colored red by the server. Yes, this service supports dynamic layers.
What is the REST syntax to change the color of just the combhazcl=3 data? I do not work for the USGS and thus cannot change the default styling on the server.
Here is my call for one tile without any restyling.
And here is my call for the same tile trying to make combhazcl=3 green.
Yes, the above tile call did select just the data where combhazcl=3. But I am unable to restyle that data.
Can anyone shed light on where I have gone astray with the syntax?
In general I am able to restyle dynamic layer data without any trouble. But this is the first time I have tried to restyle data where the server defines different styling based on an attribute value.