CLASS
IPSFloorImageData
public final class IPSFloorImageData
A representation of a floor map, including its dimensions, positioning properties, and associated image.
This class is responsible for storing essential map data such as its identifier, dimensions, pixel-to-meter ratio, and transformation parameters. It is used for accurate visualization and coordinate mapping.
- Since: 8.5.0
Properties
id
public let id: String
The unique identifier of the floor map.
name
public let name: String
The name of the floor map.
image
public let image: IPSFloorImage
The image representation of the floor, which can be either a bitmap or an SVG.
pixelToMeter
public let pixelToMeter: Double
The map’s pixel-to-meter ratio.
Used for converting the meter based coordinates in IPSCoordinate to pixels for visualization.
widthInMeters
public let widthInMeters: Double
The total width of the map in meters.
heightInMeters
public let heightInMeters: Double
The total height of the map in meters.
offset
public let offset: IPSOffset
The offset of the map from the building origin point. Used to convert coordinates.
preferredInitialRotation
public let preferredInitialRotation: Double?
Preferred initial rotation of the map (degrees).
signMarks
public let signMarks: [IPSSignMark]
The collection of sign marks on the map.