GMTCConsumerMapStyleCoordinator
@interface GMTCConsumerMapStyleCoordinator : NSObject
Container class for the custom UI options for elements of the GMTCMapView.
-
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: GMTCPolylineStyleOptions?, polylineType: GMTCPolylineType)
Objective-C
- (void)setPolylineStyleOptions: (nullable GMTCPolylineStyleOptions *)polylineStyleOptions polylineType:(GMTCPolylineType)polylineType;
Parameters
polylineStyleOptions
Polyline style options that are being set.
polylineType
Polyline type that is being set
-
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: GMTCMarkerStyleOptions?, markerType: GMTCCustomizableMarkerType)
Objective-C
- (void)setMarkerStyleOptions: (nullable GMTCMarkerStyleOptions *)markerStyleOptions markerType:(GMTCCustomizableMarkerType)markerType;
Parameters
markerStyleOptions
Marker style options that are being set.
markerType
Marker type that is being set
-
Retrieves polyline style options for a type of polyline.
Declaration
Swift
func polylineStyleOptions(for polylineType: GMTCPolylineType) -> GMTCPolylineStyleOptions
Objective-C
- (nonnull GMTCPolylineStyleOptions *)polylineStyleOptionsForType: (GMTCPolylineType)polylineType;
Parameters
polylineType
Retrieves polyline style options for this type.
-
Retrieves marker style options for a marker type.
Declaration
Swift
func markerStyleOptions(for markerType: GMTCCustomizableMarkerType) -> GMTCMarkerStyleOptions
Objective-C
- (nonnull GMTCMarkerStyleOptions *)markerStyleOptionsForType: (GMTCCustomizableMarkerType)markerType;
Parameters
markerType
Retrieves marker stlye options for this type.