I've been trying to make a Floor Switcher for my web app in WAB. There is one MapService of my building which i could simple query (layer.setDefinitionExpression("exp")) based on attribute. In-panel widget isn't a good solution because i want to change floors without open any panel. Simple toggle buttons or node list directly in app view will be the best solution.

I found these two topics, one with toggle button, but i don't know is it possible to implement this in WAB app. How do I use a toggle button with the ESRI javascript api Second one is that what i'm looking for but unfortunately in panel widget, so isn't very user-friendly. https://geonet.esri.com/thread/158023

enter image description here

  • Is there a reason you need to use Web AppBuilder? In the ArcGIS Online Scene Viewer, there is an option to toggle layers.
    – MKelly
    Commented Jan 27, 2016 at 22:07
  • Hi, but the goal is to have only one floor layer switched on at the time (also in layer list). So one click switches on only one layer and switches off the rest. If that makes sense.
    – Kamu
    Commented Jan 27, 2016 at 23:31
  • Take a look at the GIS facilities templates
    – MDHald
    Commented Jan 28, 2016 at 1:15
  • 2
    Specifically the campus place locator map - try it live
    – MDHald
    Commented Jan 28, 2016 at 1:19
  • I think that will do the trick. Cheers!
    – Kamu
    Commented Jan 29, 2016 at 0:23

1 Answer 1


The Campus Place Locator Map from ESRI outlines how to map multiple stories in GIS.

Try it Live:

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.