PolylineType

public abstract @interface PolylineType implements Annotation

Polyline elements managed by ConsumerMapFragment.

Constant Summary

int ACTIVE_ROUTE Represents the route of a vehicle to the pickup or dropoff point as a polyline shown during active trip monitoring.
int REMAINING_ROUTE Represents the subsequent route past the ACTIVE_ROUTE as a polyline between the pickup point and dropoff point.

Inherited Method Summary

Constants

public static final int ACTIVE_ROUTE

Represents the route of a vehicle to the pickup or dropoff point as a polyline shown during active trip monitoring. When enroute to the pickup, the ACTIVE_ROUTE ends at the pickup point. When enroute to the dropoff, the ACTIVE_ROUTE ends at the dropoff point.

Constant Value: 1

public static final int REMAINING_ROUTE

Represents the subsequent route past the ACTIVE_ROUTE as a polyline between the pickup point and dropoff point. This polyline shows the route after pickup simultaneously with the vehicle's progress toward the pickup if enabled by setting PolylineOptions.visible(boolean) to true. This polyline is available during the time the route to the pickup point is the ACTIVE_ROUTE and the subsequent route from the pickup to dropoff point is the REMAINING_ROUTE.

Constant Value: 2