Skip to content

PROTOCOL

IPSCoordinate

@objc public protocol IPSCoordinate

This class provides coordinates relative to the building coordinate system. Coordinates are provided in meters. The origin of the coordinate system is bottom-left corner of a building. A map's Pixel2Meter ratio and offset can be used to transform the coordinates to the map image's pixels. Note: the Z coordinate is reserved for future indication of height.

Properties

x

var x: CGFloat

X coordinate in meters (increasing from left to right of building).

y

var y: CGFloat

Y coordinate in meters (increasing from bottom to top of building).

z

var z: CGFloat

Z coordinate. Currently unused. In future version of the SDK will indicate height.