MarkerType

  • MarkerType is an annotation used to define different types of markers managed by the ConsumerMapFragment.

  • It includes four predefined constants: TRIP_DROPOFF_POINT, TRIP_INTERMEDIATE_DESTINATION, TRIP_PICKUP_POINT, and TRIP_VEHICLE.

  • These constants represent markers for the drop-off location, intermediate destinations, pickup location, and vehicle during trip monitoring, respectively.

  • The annotation inherits methods from java.lang.annotation.Annotation, such as annotationType(), equals(), hashCode(), and toString().

public abstract @interface MarkerType implements Annotation

Marker elements managed by ConsumerMapFragment.

Constant Summary

int TRIP_DROPOFF_POINT Marker representing the dropoff location of an active trip during trip monitoring.
int TRIP_INTERMEDIATE_DESTINATION Marker representing an intermediate destination of an active trip.
int TRIP_PICKUP_POINT Marker representing the pickup location of an active trip during trip monitoring.
int TRIP_VEHICLE Marker representing the matched vehicle during trip monitoring.

Inherited Method Summary

Constants

public static final int TRIP_DROPOFF_POINT

Marker representing the dropoff location of an active trip during trip monitoring.

Constant Value: 3

public static final int TRIP_INTERMEDIATE_DESTINATION

Marker representing an intermediate destination of an active trip.

Constant Value: 4

public static final int TRIP_PICKUP_POINT

Marker representing the pickup location of an active trip during trip monitoring.

Constant Value: 2

public static final int TRIP_VEHICLE

Marker representing the matched vehicle during trip monitoring.

Constant Value: 1