[GIS] Building “floor switcher” toggle button in Web AppBuilder for ArcGIS

arcgis-web-appbuilder

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

Best Answer

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

Try it Live:

enter image description here