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 to display the active route. See IRouteMapObject::display_flags.

Flags to display inactive routes. See IRouteMapObject::display_flags.

Flags that enable the display of the contents of the active route bubbles. See IRouteMapObject::callout_label_flags.

Flags that enable the display of the contents of inactive routes. See IRouteMapObject::callout_label_flags.

Mode of displaying the contents of route bubbles. See IRouteMapObject::callout_label_display_mode.

Flags that prevent components of the active route from being hidden on the map. See IRouteMapObject::permanent_display_flags.

Flags that prevent components of inactive routes from being hidden on the map. See IRouteMapObject::permanent_display_flags.