VisualNavigatorColors
public class VisualNavigatorColors
extension VisualNavigatorColors: NativeBase
extension VisualNavigatorColors: Hashable
This class contains colors used by VisualNavigator to render
the route and the maneuver arrow visualization.
-
Maneuver arrow color. The object containing color used to draw maneuver arrows on the route to highlight lane directions at the end of a street. The alpha channel is ignored. The color is interpreted as fully opaque.
Declaration
Swift
public var maneuverArrowColor: UIColor { get set } -
Colors used to visualize traffic conditions on the route ahead of the current location, for segments with a jam factor of 4.0 or higher. For route segments with a jam factor below 4.0 and those behind the current location,
RouteProgressColorsare used instead.Declaration
Swift
public var trafficOnRouteColors: TrafficOnRouteColors { get set } -
Sets route color for visualization.
Declaration
Swift
public func setRouteProgressColors(sectionTransportMode: SectionTransportMode, routeProgressColors: RouteProgressColors)Parameters
sectionTransportModeThe section transport mode.
routeProgressColorsThe route progress colors.
-
Gets route color for visualization.
Declaration
Swift
public func getRouteProgressColors(sectionTransportMode: SectionTransportMode) -> RouteProgressColorsParameters
sectionTransportModeThe section transport mode.
Return Value
The route color for visualization.
-
Retrieves HERE day color presets for route and maneuver arrow visualization.
Declaration
Swift
public static func dayColors() -> VisualNavigatorColorsReturn Value
HERE day color presets for route and maneuver arrow visualization.
-
Retrieves HERE night color presets for route and maneuver arrow visualization.
Declaration
Swift
public static func nightColors() -> VisualNavigatorColorsReturn Value
HERE night color presets for route and maneuver arrow visualization.