I am attempting to use a WebTiledLayer and a query param to toggle labelling on and off based off the user's preferences, i.e. labels=0 or labels=1 to toggle them on and off. The problem is, I apparently can't do this after the layer has been loaded. Is there any way to get around this limitation, or what is the correct way if I needed to change that template on the fly?
Should I not be able to change that and trigger a reload on the layer in the map?
Thanks