AI-generated Key Takeaways
-
GMSPinImageOptionsprovides customization options for the image of advanced markers on a map. -
It allows developers to set a glyph (string or image) to replace the default marker icon.
-
Developers can customize the marker's appearance with
backgroundColorandborderColorproperties.
GMSPinImageOptions
@interface
GMSPinImageOptions
:
NSObject
Provides pin image customization for an advanced marker.
-
An object representing a String or Image to replace the glyph on the marker
Declaration
Swift
var glyph : GMSPinImageGlyph ? { get set }Objective-C
@property ( nonatomic , nullable ) GMSPinImageGlyph * glyph ; -
The color used to fill the marker shape with.
Declaration
Swift
var backgroundColor : UIColor ? { get set }Objective-C
@property ( nonatomic , nullable ) UIColor * backgroundColor ; -
The color used for the border of the marker shape.
Declaration
Swift
var borderColor : UIColor ? { get set }Objective-C
@property ( nonatomic , nullable ) UIColor * borderColor ;

