Select to view content in your preferred language

Web map and View Indoor configuration from JS

145
1
Jump to solution
09-26-2024 05:08 AM
NicolasRojas
Occasional Contributor

Hello,

I'm wondering if  it possible to configure the Indoors view model into a web map using JS.

Using a webmap that was not configured for indoors, I would like to be able to set the level and facility layers properly so that the FloorFilter works.

In js, when loading the the layers, I have updated the webmaps MapFloorInfo to contain all information regarding the level and facility layers. 

The FloorFilter works fine; the facility search and the flyTo is intact, however, the floor selector doesn't work. The levels arn't actually being filtered for display.

Is it possible? if so, what am I missing?

Many thanks!

-N
0 Kudos
1 Solution

Accepted Solutions
NicolasRojas
Occasional Contributor

Turns out the layerDefinition of layers that are floor aware must contain a floorInfo.

-N

View solution in original post

0 Kudos
1 Reply
NicolasRojas
Occasional Contributor

Turns out the layerDefinition of layers that are floor aware must contain a floorInfo.

-N
0 Kudos