# GoogleRidesharingConsumer Framework Reference

# GMTCMutableMarkerStyleOptions

    @interface GMTCMutableMarkerStyleOptions : https://developers.google.com/maps/documentation/mobility/journey-sharing/on-demand/reference/ios/Classes/GMTCMarkerStyleOptions.html

Mutable data object that holds marker's customization properties.
Note: When applying the style options for a marker with the
`GMTCCustomizableMarkerTypeTripVehicle` type, you must explicitly
set the `isFlat` property to YES. Otherwise, when the map is rotated in 3D
mode, the vehicle heading won't be aligned with the rotated direction.
- `


  ### [groundAnchor](https://developers.google.com/maps/documentation/mobility/journey-sharing/on-demand/reference/ios/Classes/GMTCMutableMarkerStyleOptions#/c:objc(cs)GMTCMutableMarkerStyleOptions(py)groundAnchor)


  ` The ground anchor for the marker. Defaults to {0.5f, 0.5f}

  #### Declaration

  Swift

      var groundAnchor: CGPoint { get set }

  Objective-C

      @property (nonatomic) CGPoint groundAnchor;

- `


  ### [isVisible](https://developers.google.com/maps/documentation/mobility/journey-sharing/on-demand/reference/ios/Classes/GMTCMutableMarkerStyleOptions#/c:objc(cs)GMTCMutableMarkerStyleOptions(py)isVisible)


  ` Boolean that determines the visibility of the marker. Defaults to YES.

  #### Declaration

  Swift

      var isVisible: Bool { get set }

  Objective-C

      @property (nonatomic) BOOL isVisible;

- `


  ### [iconView](https://developers.google.com/maps/documentation/mobility/journey-sharing/on-demand/reference/ios/Classes/GMTCMutableMarkerStyleOptions#/c:objc(cs)GMTCMutableMarkerStyleOptions(py)iconView)


  ` Marker view to render. If left nil, defaults to the icon property value.

  #### Declaration

  Swift

      var iconView: UIView? { get set }

  Objective-C

      @property (nonatomic, nullable) UIView *iconView;

- `


  ### [icon](https://developers.google.com/maps/documentation/mobility/journey-sharing/on-demand/reference/ios/Classes/GMTCMutableMarkerStyleOptions#/c:objc(cs)GMTCMutableMarkerStyleOptions(py)icon)


  ` The icon to display for the marker. If there is no iconView, and icon is left nil,
  the marker's default icon is used.

  #### Declaration

  Swift

      var icon: UIImage? { get set }

  Objective-C

      @property (nonatomic, nullable) UIImage *icon;

- `


  ### [zIndex](https://developers.google.com/maps/documentation/mobility/journey-sharing/on-demand/reference/ios/Classes/GMTCMutableMarkerStyleOptions#/c:objc(cs)GMTCMutableMarkerStyleOptions(py)zIndex)


  ` The z-index specifies the stack order of this marker. Defaults to 0.

  #### Declaration

  Swift

      var zIndex: Int32 { get set }

  Objective-C

      @property (nonatomic) int32_t zIndex;

- `


  ### [isFlat](https://developers.google.com/maps/documentation/mobility/journey-sharing/on-demand/reference/ios/Classes/GMTCMutableMarkerStyleOptions#/c:objc(cs)GMTCMutableMarkerStyleOptions(py)isFlat)


  ` Whether the marker is flat against the map or a billboard facing the camera. Defaults to NO.

  #### Declaration

  Swift

      var isFlat: Bool { get set }

  Objective-C

      @property (nonatomic) BOOL isFlat;