IndoorsLocationDataSource

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

Create a new IndoorsLocationDataSource from the given feature table and row in the "IPS_Positioning" FeatureTable. See the ArcGIS IPS Information Model for more information.

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


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:

  • A reference to an indoor positioning data service is defined in the web map properties.

  • It contains an "ips_positioning" feature table. If a map is IPS-aware, an IndoorPositioningDefinition can be returned using ArcGISMap.indoorPositioningDefinition.

Use IndoorsLocationDataSource.IndoorsLocationDataSource(FeatureTable, ArcGISFeatureTable) to create an IndoorsLocationDataSource if an IPS positioning feature table is not a part of a map.

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