GoogleRidesharingConsumer Framework Reference

  • The GMTCCustomizableMarkerType enum defines the various types of customizable markers supported.

  • GMTCCustomizableMarkerTypeUnknown is used for internal marker types that are not customizable and has a value of -1.

  • GMTCCustomizableMarkerTypeTripPickupPoint represents the pickup point icon for a trip in progress, with a value of 0.

  • GMTCCustomizableMarkerTypeTripDropoffPoint indicates the dropoff point icon for an active trip and has a value of 1.

  • GMTCCustomizableMarkerTypeTripVehicle represents the vehicle icon displayed during a trip, while GMTCCustomizableMarkerTypeIntermediateDestination is used for intermediate destinations.

GMTCCustomizableMarkerType

enum GMTCCustomizableMarkerType : NSInteger {}

Enum definition of all supported customizable marker types.

  • Placemark for internal marker types that are not customizable.

    Declaration

    Swift

    case unknown = -1

    Objective-C

    GMTCCustomizableMarkerTypeUnknown = -1
  • Pickup point icon shown when a trip is in progress with a participating rider.

    Declaration

    Swift

    case tripPickupPoint = 0

    Objective-C

    GMTCCustomizableMarkerTypeTripPickupPoint
  • Dropoff point icon shown when the trip is in progress with a participating rider.

    Declaration

    Swift

    case tripDropoffPoint = 1

    Objective-C

    GMTCCustomizableMarkerTypeTripDropoffPoint
  • Vehicle icon shown when the trip is in progress. This icon matches the trip connected to the rider.

    Declaration

    Swift

    case tripVehicle = 2

    Objective-C

    GMTCCustomizableMarkerTypeTripVehicle
  • An intermediate destination in an active trip.

    Declaration

    Swift

    case intermediateDestination = 3

    Objective-C

    GMTCCustomizableMarkerTypeIntermediateDestination