LegendHtml and OpacitySlider
LegendHTML and OpacitySlider Simple Example
LegendHtml and OpacitySlider are by default visible only inside layer description panel, but they can be added to any arbitrary place using the ‘legendHtml’ and the OpacitySlider. The legendHtml add a representation of the map legends, and the OpacitySlider add a tool to change the map opacity.
Usage legend html: “\{\{legendHtml\}\}” Usage opacity slider: “\{\{opacityslider\}\}”