RouteEditorSource | iOS SDK | Urbi Documentation
iOS SDK

RouteEditorSource

Interface of the class managing the display of routes on the map.

Extends: Source
public convenience init(
    context: Context,
    routeEditor: RouteEditor,
    activeDisplayFlags: RouteMapObjectDisplayFlagOptionSet? = nil,
    inactiveDisplayFlags: RouteMapObjectDisplayFlagOptionSet? = nil,
    activeCalloutLabelFlags: RouteMapObjectCalloutLabelFlagOptionSet? = nil,
    inactiveCalloutLabelFlags: RouteMapObjectCalloutLabelFlagOptionSet? = nil,
    calloutLabelDisplayMode: RouteMapObjectCalloutLabelDisplayMode = RouteMapObjectCalloutLabelDisplayMode.absoluteValues,
    activePermanentDisplayFlags: RouteMapObjectPermanentDisplayFlagOptionSet? = nil,
    inactivePermanentDisplayFlags: RouteMapObjectPermanentDisplayFlagOptionSet? = nil
)

Function to create IRouteEditorSource

Parameters
Methods
Properties

Objects of the route on the map.

Settings for displaying maneuvers on the route.

Flags for displaying the active route. See IRouteMapObject::display_flags.

Flags for displaying inactive routes. See IRouteMapObject::display_flags.

Flags that enable the display of content in the callouts of the active route. See IRouteMapObject::callout_label_flags.

Flags that enable displaying content in the callouts of inactive route. See IRouteMapObject::callout_label_flags.

The mode of displaying values in the route callouts. See IRouteMapObject::callout_label_display_mode.

Flags that exclude hiding components of the active route from the map. See IRouteMapObject::permanent_display_flags.

Flags that exclude hiding components of the active route from the map. See IRouteMapObject::permanent_display_flags.