Select to view content in your preferred language

Experience Builder - How to Turn On/Off multiple layers

8081
10
Jump to solution
10-13-2020 02:46 PM
MarcoPoetsch
Frequent Contributor

Hi all,

does someone of you know a good way to turn on/off multiple layers with one click using a button (or something)?

So basically I have a map with multiple layers (e.g. layers A, B, C, D).

On default only layer A should show.

When clicking button B, none but layer B should show.

If I click button C, only layer C should be activated, and so on...

Bookmarks won't work, because I don't want to change the map extent...

Tags (2)
10 Replies
ACharvin
Occasional Contributor

Checking in to see if any one has other solutions to get this functionality working on experience builder.
Story maps have the option to toggle layers on and off and show them, are there any workaround here for this?

Solved it using this : How To: Configure the Default Layer Visibility of Multiple Map Widgets Referencing the Sam