# GoogleRidesharingConsumer Framework Reference

# GMTCConsumerMapStyleCoordinator

    @interface GMTCConsumerMapStyleCoordinator : NSObject

Container class for the custom UI options for elements of the GMTCMapView.
- `


  ### [-setPolylineStyleOptions:polylineType:](https://developers.google.com/maps/documentation/mobility/journey-sharing/on-demand/reference/ios/Classes/GMTCConsumerMapStyleCoordinator#/c:objc(cs)GMTCConsumerMapStyleCoordinator(im)setPolylineStyleOptions:polylineType:)


  ` Sets the polyline style options for a polyline type. Setting the options to nil will revert the
  options to the default values. Note that the given `polylineStyleOptions` is internally copied.

  #### Declaration

  Swift

      func setPolylineStyleOptions(_ polylineStyleOptions: https://developers.google.com/maps/documentation/mobility/journey-sharing/on-demand/reference/ios/Classes/GMTCPolylineStyleOptions.html?, polylineType: https://developers.google.com/maps/documentation/mobility/journey-sharing/on-demand/reference/ios/Enums/GMTCPolylineType.html)

  Objective-C

      - (void)setPolylineStyleOptions:
                  (nullable https://developers.google.com/maps/documentation/mobility/journey-sharing/on-demand/reference/ios/Classes/GMTCPolylineStyleOptions.html *)polylineStyleOptions
                         polylineType:(https://developers.google.com/maps/documentation/mobility/journey-sharing/on-demand/reference/ios/Enums/GMTCPolylineType.html)polylineType;

  #### Parameters

  |---|---|
  | ` polylineStyleOptions ` | Polyline style options that are being set. |
  | ` polylineType ` | Polyline type that is being set |

- `


  ### [-setMarkerStyleOptions:markerType:](https://developers.google.com/maps/documentation/mobility/journey-sharing/on-demand/reference/ios/Classes/GMTCConsumerMapStyleCoordinator#/c:objc(cs)GMTCConsumerMapStyleCoordinator(im)setMarkerStyleOptions:markerType:)


  ` Sets the marker style options for a marker type. Setting the options to nil will revert the
  options to the default values. Note that the given `markerStyleOptions` is internally copied.

  #### Declaration

  Swift

      func setMarkerStyleOptions(_ markerStyleOptions: https://developers.google.com/maps/documentation/mobility/journey-sharing/on-demand/reference/ios/Classes/GMTCMarkerStyleOptions.html?, markerType: https://developers.google.com/maps/documentation/mobility/journey-sharing/on-demand/reference/ios/Enums/GMTCCustomizableMarkerType.html)

  Objective-C

      - (void)setMarkerStyleOptions:
                  (nullable https://developers.google.com/maps/documentation/mobility/journey-sharing/on-demand/reference/ios/Classes/GMTCMarkerStyleOptions.html *)markerStyleOptions
                         markerType:(https://developers.google.com/maps/documentation/mobility/journey-sharing/on-demand/reference/ios/Enums/GMTCCustomizableMarkerType.html)markerType;

  #### Parameters

  |---|---|
  | ` markerStyleOptions ` | Marker style options that are being set. |
  | ` markerType ` | Marker type that is being set |

- `


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


  ` Retrieves polyline style options for a type of polyline.

  #### Declaration

  Swift

      func polylineStyleOptions(for polylineType: https://developers.google.com/maps/documentation/mobility/journey-sharing/on-demand/reference/ios/Enums/GMTCPolylineType.html) -> https://developers.google.com/maps/documentation/mobility/journey-sharing/on-demand/reference/ios/Classes/GMTCPolylineStyleOptions.html

  Objective-C

      - (nonnull https://developers.google.com/maps/documentation/mobility/journey-sharing/on-demand/reference/ios/Classes/GMTCPolylineStyleOptions.html *)polylineStyleOptionsForType:
          (https://developers.google.com/maps/documentation/mobility/journey-sharing/on-demand/reference/ios/Enums/GMTCPolylineType.html)polylineType;

  #### Parameters

  |---|---|
  | ` polylineType ` | Retrieves polyline style options for this type. |

- `


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


  ` Retrieves marker style options for a marker type.

  #### Declaration

  Swift

      func markerStyleOptions(for markerType: https://developers.google.com/maps/documentation/mobility/journey-sharing/on-demand/reference/ios/Enums/GMTCCustomizableMarkerType.html) -> https://developers.google.com/maps/documentation/mobility/journey-sharing/on-demand/reference/ios/Classes/GMTCMarkerStyleOptions.html

  Objective-C

      - (nonnull https://developers.google.com/maps/documentation/mobility/journey-sharing/on-demand/reference/ios/Classes/GMTCMarkerStyleOptions.html *)markerStyleOptionsForType:
          (https://developers.google.com/maps/documentation/mobility/journey-sharing/on-demand/reference/ios/Enums/GMTCCustomizableMarkerType.html)markerType;

  #### Parameters

  |---|---|
  | ` markerType ` | Retrieves marker stlye options for this type. |