Skip to content

OpacitySlider

andy.rothwell edited this page Aug 31, 2018 · 2 revisions

OpacitySlider

An opacity slider sets the opacity of a DynamicMapLayer

In a Vue template

The phila-vue-mapping component EsriDynamicMapLayer contains an <opacity-slider> tag within its template:

<opacity-slider :layer="this.$leafletElement"
                :position="'topleft'"
                :initialOpacity="opacity"
/>

In a Mapboard config file

As of now, if you are using Mapboard to create a site, there is no way to add "OpacitySlider" to the config. They are entirely included in DynamicMapLayers.