RoadShield
public struct RoadShield : Equatable
Describes a road shield information.
Note
The Mapbox Electronic Horizon feature of the Mapbox Navigation SDK is in public beta and is subject to changes, including its pricing. Use of the feature is subject to the beta product restrictions in the Mapbox Terms of Service. Mapbox reserves the right to eliminate any free tier or free evaluation offers at any time and require customers to place an order to purchase the Mapbox Electronic Horizon feature, regardless of the level of use of the feature.-
The base url for a shield image.
Declaration
Swift
public let baseUrl: String -
The shield display reference.
Declaration
Swift
public let displayRef: String -
The shield text.
Declaration
Swift
public let name: String -
The string indicating the color of the text to be rendered on the route shield, e.g. “black”.
Declaration
Swift
public let textColor: String -
Creates a new
Shieldinstance.Declaration
Swift
public init(baseUrl: String, displayRef: String, name: String, textColor: String)Parameters
baseUrlThe base url for a shield image.
displayRefThe shield display reference.
nameThe shield text.
textColorThe string indicating the color of the text to be rendered on the route shield.
Install in Dash
RoadShield Structure Reference