UserLocationViewStateStyle
public struct UserLocationViewStateStyle : Equatable
A struct containing information about the user location view style for particular state.
-
The foreground color for the puck view.
Default is
MapConstants.wemapBlueDeclaration
Swift
public let foregroundColor: UIColor -
The background color for the puck view.
Default is
.whiteDeclaration
Swift
public let backgroundColor: UIColor -
The color for the arrow puck.
Default is
MapConstants.wemapBlueDeclaration
Swift
public let headingColor: UIColor -
Initializes a new user location annotation view style with the specified parameters.
Declaration
Swift
public init( foregroundColor: UIColor = MapConstants.wemapBlue, backgroundColor: UIColor = .white, headingColor: UIColor = MapConstants.wemapBlue )Parameters
foregroundColorThe foreground color for the puck view. Default is
MapConstants.wemapBluebackgroundColorThe background color for the puck view. Default is
.whiteheadingColorThe color for the arrow puck. Default is
MapConstants.wemapBlue
View on GitHub