ru.dgis.sdk.map.RouteEditorSource | Android SDK | 2GIS Documentation

RouteEditorSource

Interface of the class that controls the display of routes on the map.

RouteEditorSource(
	context: Context,
	routeEditor: RouteEditor,
	activeDisplayFlags: EnumSet?<RouteMapObjectDisplayFlag> = null,
	inactiveDisplayFlags: EnumSet?<RouteMapObjectDisplayFlag> = null,
	activeCalloutLabelFlags: EnumSet?<RouteMapObjectCalloutLabelFlag> = null,
	inactiveCalloutLabelFlags: EnumSet?<RouteMapObjectCalloutLabelFlag> = null,
	calloutLabelDisplayMode: RouteMapObjectCalloutLabelDisplayMode = RouteMapObjectCalloutLabelDisplayMode.ABSOLUTE_VALUES,
	activePermanentDisplayFlags: EnumSet?<RouteMapObjectPermanentDisplayFlag> = null,
	inactivePermanentDisplayFlags: EnumSet?<RouteMapObjectPermanentDisplayFlag> = null
)

Function to create IRouteEditorSource.

Parameters
Methods
Properties

Route objects on the map.

Settings for displaying maneuvers on the route.

Display flags for the active route. See IRouteMapObject::display_flags.

Display flags for inactive routes. See IRouteMapObject::display_flags.

Flags enabling the display of content in callouts for inactive routes. See IRouteMapObject::callout_label_flags.

Flags enabling the display of content in callouts for inactive routes. See IRouteMapObject::callout_label_flags.

Display mode for values in route callouts. See IRouteMapObject::callout_label_display_mode.

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

Flags excluding the hiding of components of inactive routes from the map. See IRouteMapObject::permanent_display_flags.