Skip to content

CLASS

IPSFloorLayout

public class IPSFloorLayout

Represents the layout of a floor within a building. - Since: 8.3.0

Properties

buildingId

public let buildingId: String

The identifier of the building to which the floor belongs. - Since: 8.3.0

floorId

public let floorId: String

The identifier of the floor. - Since: 8.3.0

mapId

public var mapId: String

The identifier of the map for this floor. - Warning: Deprecated since 8.8.0. Use IPSFloorLayout.floorId instead.

  • Since: 8.3.0
  • Deprecated: 8.8.0

Methods

snap(coordinate:)

public func snap(coordinate: IPSCoordinate) -> IPSSnapToFloorLayoutResult

Finds the closest part of the floor layout to the provided coordinate. - Parameters: - coordinate: The coordinate for which the closest floor part is to be found. - Returns: An IPSFloorLayoutPartFindingResult object containing the coordinate of the closest part and the distance to it. - Since: 8.3.0