IndoorsLocationDataSource

constructor(definition: IndoorPositioningDefinition)

Creates a new IndoorsLocationDataSource object using the information contained in the provided IndoorPositioningDefinition. For a map to be IPS-aware, one of the following must be true:

If IndoorPositioningDefinition is not loaded when IndoorsLocationDataSource starts, then IndoorPositioningDefinition will perform loading during the starting phase which, can lead to a significant delay before IndoorsLocationDataSource is started. To prevent such a delay, manually load IndoorPositioningDefinition before starting IndoorsLocationDataSource.

Since

200.4.0

Throws


constructor(    positioningTable: FeatureTable,     pathwaysTable: ArcGISFeatureTable? = null,     levelsTable: ArcGISFeatureTable? = null,     positioningId: Guid? = null)

Deprecated

since 200.7.0. Replaced by IndoorsLocationDataSource(IndoorPositioningDefinition).

Replace with

IndoorsLocationDataSource(IndoorPositioningDefinition)

Create a new IndoorsLocationDataSource from the given feature table and row in the "IPS_Positioning" FeatureTable. For more information about the ArcGIS Indoors Information Model see the ArcGIS Pro documentation.

Floor level ID can be obtained from Location.additionalSourceProperties of a Location emitted by the IndoorsLocationDataSource.

For more information about the levels table and ArcGIS Indoors Information Model see the ArcGIS Pro documentation.

Since

200.0.0

Parameters

positioningTable

the "IPS_Positioning" feature table from an IPS-enabled map.

pathwaysTable

an optional ArcGISFeatureTable that contains pathways as per the ArcGIS Indoors Information Model. Setting this property enables path snapping of locations provided by the IndoorsLocationDataSource.

levelsTable

An ArcGISFeatureTable that contains floor levels in accordance with the ArcGIS Indoors Information Model. Providing this table enables the retrieval of a location's floor level ID, see Location.additionalSourceProperties.

positioningId

an ID which identifies a specific row in the FeatureTable that should be used for setting up IPS.

Throws