AI-generated Key Takeaways
- 
          GMSPinImageGlyphprovides a way to customize the appearance of markers on a map with an image, text, or a colored glyph.
- 
          You can initialize a GMSPinImageGlyphwith an image, text and color, or a glyph color.
- 
          GMSPinImageGlyphoffers read-only properties to access the text, text color, image, and glyph color.
- 
          This class is used for advanced marker customization within the Google Maps SDK. 
GMSPinImageGlyph
@interface GMSPinImageGlyph : NSObjectProvides a custom pin image glyph for an advanced marker.
- 
                  
                  Unavailable DeclarationObjective-C - (instancetype)init NS_UNAVAILABLE;
- 
                  
                  DeclarationSwift var text: String? { get }Objective-C @property(nonatomic, nullable, readonly) NSString *text
- 
                  
                  DeclarationSwift var textColor: UIColor? { get }Objective-C @property(nonatomic, nullable, readonly) UIColor *textColor
- 
                  
                  DeclarationSwift var image: UIImage? { get }Objective-C @property(nonatomic, nullable, readonly) UIImage *image
- 
                  
                  DeclarationSwift var glyphColor: UIColor? { get }Objective-C @property(nonatomic, nullable, readonly) UIColor *glyphColor
- 
                  
                  Returns a glyph model with the given text. DeclarationSwift init(text: String, textColor: UIColor)Objective-C - (nonnull GMSPinImageGlyph *)initWithText:(nonnull NSString *)text textColor:(nonnull UIColor *)textColor;ParameterstextA NSStringobject to use as the glyph.textColorA UIColorobject to use to render the text.Return ValueAn initialized glyph model. 
- 
                  
                  Returns a glyph model with the given text. DeclarationSwift init(image: UIImage)Objective-C - (nonnull GMSPinImageGlyph *)initWithImage:(nonnull UIImage *)image;ParametersimageA UIImageobject to use as the glyph.Return ValueAn initialized glyph model. 
- 
                  
                  Returns a glyph model with the given glyph color. DeclarationSwift init(glyphColor: UIColor)Objective-C - (nonnull GMSPinImageGlyph *)initWithGlyphColor:(nonnull UIColor *)glyphColor;ParametersglyphColorA UIColorobject to use to render the glyph.Return ValueAn initialized glyph model.