...
If the layer is lockable this allows the user to toggle the state of the locking for the layer. A lockable layer is a layer that has the ability to disable the scale ranges that are applied to a layer's display, allowing a user to view the layer outside of its normal scale ranges. To create a lockable layer you need to duplicate the layer in the underlying map engine, rename the new layer to include UNLOCKED
as a prefix and remove any scale ranges that are attached to the symbology for the new layer. Then when Weave attempts to display the layer in an unlocked state it will display the unlocked version of the layer rather than the original.
Note, you :
- You should not include the unlocked version of the layer in the ToC model.
...
- If the underlying layer name contains a colon (which some WMS map engines do) the
UNLOCKED
prefix should be after the colon, e.g.topp:property
should usetopp:UNLOCKEDproperty
.
Layer Transparency Slider
...