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

RouteMapObject

Route object on the map.

RouteMapObject(
	route: TrafficRoute,
	isActive: Boolean,
	index: RouteIndex,
	displayFlags: EnumSet?<RouteMapObjectDisplayFlag> = null,
	calloutLabelFlags: EnumSet?<RouteMapObjectCalloutLabelFlag> = null,
	calloutLabelDisplayMode: RouteMapObjectCalloutLabelDisplayMode = RouteMapObjectCalloutLabelDisplayMode.ABSOLUTE_VALUES,
	permanentDisplayFlags: EnumSet?<RouteMapObjectPermanentDisplayFlag> = null
)
Parameters
Properties

A set of flags to display the various parts of the route. If not specified, display logic based on the activity status of the route is used.

A set of flags to display the various parts of the route. If not specified, display logic based on the activity status of the route is used.

A set of flags to prevent various parts of the route from being hidden from the map when updating the distance traveled along the route. If not specified, then when updating the distance traveled along the route, all route elements that fall into the undisplayed part of the route are hidden from the map.

A set of flags to prevent various parts of the route from being hidden from the map when updating the distance traveled along the route. If not specified, then when updating the distance traveled along the route, all route elements that fall into the undisplayed part of the route are hidden from the map.

Route activity status.

Route activity status.

Route index in the route editor.

Distance traveled along the route.

Distance traveled along the route.

Route bubble position.

A set of flags for displaying the contents of the route's bubbles. If not specified, then both the time of movement along the route and its length are displayed for the active route, and only the time of movement for inactive routes.

A set of flags for displaying the contents of the route's bubbles. If not specified, then both the time of movement along the route and its length are displayed for the active route, and only the time of movement for inactive routes.

Mode for displaying values in route bubbles. By default, values are displayed as absolute values.

Mode for displaying values in route bubbles. By default, values are displayed as absolute values.

Band bubble positions. Only actual positions are returned for the current distance traveled along the route, and only if the source where the object is placed is in navigation mode.

Band bubble positions. Only actual positions are returned for the current distance traveled along the route, and only if the source where the object is placed is in navigation mode.