GoogleMaps Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
GMSMutableFeatureStyle
Mutable version of GMSFeatureStyle.
-
Declaration
Swift
@NSCopying var fillColor: UIColor? { get set }
Objective-C
@property(nonatomic, readwrite, copy, nullable) UIColor *fillColor
-
Declaration
Swift
@NSCopying var strokeColor: UIColor? { get set }
Objective-C
@property(nonatomic, readwrite, copy, nullable) UIColor *strokeColor
-
Declaration
Swift
var strokeWidth: CGFloat { get set }
Objective-C
@property(nonatomic, readwrite) CGFloat strokeWidth
-
Declaration
Swift
var pointRadius: CGFloat { get set }
Objective-C
@property(nonatomic, readwrite) CGFloat pointRadius
-
Creates a new mutable style.
Declaration
Objective-C
+ (nonnull instancetype)style;
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-27 UTC.
[null,null,["Last updated 2025-08-27 UTC."],[[["\u003cp\u003e\u003ccode\u003eGMSMutableFeatureStyle\u003c/code\u003e is a mutable version of \u003ccode\u003eGMSFeatureStyle\u003c/code\u003e, allowing for modifications to its properties.\u003c/p\u003e\n"],["\u003cp\u003eIt provides properties to customize the fill color (\u003ccode\u003efillColor\u003c/code\u003e), stroke color (\u003ccode\u003estrokeColor\u003c/code\u003e), stroke width (\u003ccode\u003estrokeWidth\u003c/code\u003e), and point radius (\u003ccode\u003epointRadius\u003c/code\u003e) of features.\u003c/p\u003e\n"],["\u003cp\u003eYou can create a new mutable style instance using the \u003ccode\u003e+style\u003c/code\u003e method.\u003c/p\u003e\n"]]],["GMSMutableFeatureStyle is a mutable version of GMSFeatureStyle. It allows setting the `fillColor` and `strokeColor` using UIColor, and `strokeWidth` and `pointRadius` using CGFloat. It offers properties that can be set to modify the style. `+style` provides a method to create a new mutable style. The properties are accessible in both Swift and Objective-C.\n"],null,["# GoogleMaps Framework Reference\n\nGMSMutableFeatureStyle\n======================\n\n\n @interface GMSMutableFeatureStyle : ../Classes/GMSFeatureStyle.html\n\nMutable version of GMSFeatureStyle.\n- `\n ``\n ``\n `\n\n ### [fillColor](#/c:objc(cs)GMSMutableFeatureStyle(py)fillColor)\n\n `\n ` \n\n #### Declaration\n\n Swift \n\n @NSCopying var fillColor: UIColor? { get set }\n\n Objective-C \n\n @property(nonatomic, readwrite, copy, nullable) UIColor *fillColor\n\n- `\n ``\n ``\n `\n\n ### [strokeColor](#/c:objc(cs)GMSMutableFeatureStyle(py)strokeColor)\n\n `\n ` \n\n #### Declaration\n\n Swift \n\n @NSCopying var strokeColor: UIColor? { get set }\n\n Objective-C \n\n @property(nonatomic, readwrite, copy, nullable) UIColor *strokeColor\n\n- `\n ``\n ``\n `\n\n ### [strokeWidth](#/c:objc(cs)GMSMutableFeatureStyle(py)strokeWidth)\n\n `\n ` \n\n #### Declaration\n\n Swift \n\n var strokeWidth: CGFloat { get set }\n\n Objective-C \n\n @property(nonatomic, readwrite) CGFloat strokeWidth\n\n- `\n ``\n ``\n `\n\n ### [pointRadius](#/c:objc(cs)GMSMutableFeatureStyle(py)pointRadius)\n\n `\n ` \n\n #### Declaration\n\n Swift \n\n var pointRadius: CGFloat { get set }\n\n Objective-C \n\n @property(nonatomic, readwrite) CGFloat pointRadius\n\n- `\n ``\n ``\n `\n\n ### [+style](#/c:objc(cs)GMSMutableFeatureStyle(cm)style)\n\n `\n ` \n Creates a new mutable style. \n\n #### Declaration\n\n Objective-C \n\n + (nonnull instancetype)style;"]]