BuildingExplorer doesn't show all levels when no level is selected

157
1
11-18-2021 03:38 AM
SébastienPerret
New Contributor II

Hi, 

We have built a custom Building Scene Layer from Geodatabase multipatches. All features containe a BldgLevel attribute, which holds the level information. We have published the Building Scene Layer from ArcGIS Pro, and load it in a Web Scene. Everything looks ok, and we can browse the different levels using the Building Explorer widget:

https://www.arcgis.com/home/webscene/viewer.html?webscene=9ca54f13b2da46098b26087fab6e9282

However, if we unselect the level ind the widget ("Clear level"), instead of seeing all levels, nothing happens. This is not the expected behaviour, as can be seen on the Esri example:

https://www.arcgis.com/home/webscene/viewer.html?webscene=f477c289e93347aba6a0c052bfe0e0a4

Here, as expected, when no level is selected, the full building with all levels is shown.

We see no difference in the building layer structure of our building layer:

https://tiles.arcgis.com/tiles/TRedWbwyW3ioV38C/arcgis/rest/services/Test_buildings/SceneServer

and the exemple building layer from Esri:

https://tiles.arcgis.com/tiles/V6ZHFr6zdgNZuVG0/arcgis/rest/services/Bldg_E_Color_UC2020_demo/SceneS...

Interestingly, on our Portal (Enteprise 10.8.1), the Building Explorer widget works as expected, with the same building layer!

We suspect that there must be a problem with our data model (a missing attribute?), but unfortunately, the building layers are very scantily documented... We would be glad for any hint that could help us understand what is preventing the Building Explorer widget from working properly...

1 Reply
gmiele-esristaff
New Contributor

Hi @SébastienPerret 

Thanks for having provided a repro case. We looked into this issue and should be able to provide a fix as part of the upcoming release of the ArcGIS API for JavaScript. This will be version 4.22 and it's planned to be released as part of the next ArcGIS Online update in December this year.

Gianluca 

0 Kudos