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, RouteProgressColors are 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

    sectionTransportMode

    The section transport mode.

    routeProgressColors

    The route progress colors.

  • Gets route color for visualization.

    Declaration

    Swift

    public func getRouteProgressColors(sectionTransportMode: SectionTransportMode) -> RouteProgressColors

    Parameters

    sectionTransportMode

    The 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() -> VisualNavigatorColors

    Return 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() -> VisualNavigatorColors

    Return Value

    HERE night color presets for route and maneuver arrow visualization.