-
Image to use as the top of the location indicator.
Declaration
Swift
public var topImage: UIImage? -
Image to use as the middle of the location indicator.
Declaration
Swift
public var bearingImage: UIImage? -
Image to use as the background of the location indicator.
Declaration
Swift
public var shadowImage: UIImage? -
The size of the images, as a scale factor applied to the size of the specified image.
Declaration
Swift
public var scale: Value<Double>? -
Flag determining if the horizontal accuracy ring should be shown arround the
Puck. default value is falseDeclaration
Swift
public var showsAccuracyRing: Bool -
The color of the accuracy ring.
Declaration
Swift
public var accuracyRingColor: UIColor -
The color of the accuracy ring border.
Declaration
Swift
public var accuracyRingBorderColor: UIColor -
Initialize a
Puck2Dobject with a top image, bearing image, shadow image, scale, and accuracy ring visibility.Declaration
Swift
public init(topImage: UIImage? = nil, bearingImage: UIImage? = nil, shadowImage: UIImage? = nil, scale: Value<Double>? = nil, showsAccuracyRing: Bool = false)Parameters
topImageThe image to use as the top layer for the location indicator.
bearingImageThe image used as the middle of the location indicator.
shadowImageThe image that acts as a background of the location indicator.
scaleThe size of the images, as a scale factor applied to the size of the specified image..
showsAccuracyRingIndicates whether the location accurary ring should be shown.
-
init(topImage:bearingImage:shadowImage:scale:showsAccuracyRing:accuracyRingColor:accuracyRingBorderColor:)Initialize a
Puck2Dobject with a top image, bearing image, shadow image, scale, and accuracy ring visibility.Declaration
Swift
public init(topImage: UIImage? = nil, bearingImage: UIImage? = nil, shadowImage: UIImage? = nil, scale: Value<Double>? = nil, showsAccuracyRing: Bool = false, accuracyRingColor: UIColor = UIColor(red: 0.537, green: 0.812, blue: 0.941, alpha: 0.3), accuracyRingBorderColor: UIColor = UIColor(red: 0.537, green: 0.812, blue: 0.941, alpha: 0.3))Parameters
topImageThe image to use as the top layer for the location indicator.
bearingImageThe image used as the middle of the location indicator.
shadowImageThe image that acts as a background of the location indicator.
scaleThe size of the images, as a scale factor applied to the size of the specified image..
showsAccuracyRingIndicates whether the location accurary ring should be shown.
accuracyRingColorThe color of the accuracy ring.
accuracyRingBorderColorThe color of the accuracy ring border.
-
Undocumented
Declaration
Swift
static func makeDefault(showBearing: Bool = false) -> Puck2DConfiguration
Puck2DConfiguration Structure Reference