GMSPinImageGlyph
@interface GMSPinImageGlyph : NSObjectProvides a custom pin image glyph for an advanced marker.
- 
                  
                  
Unavailable
Declaration
Objective-C
- (instancetype)init NS_UNAVAILABLE; - 
                  
                  
Declaration
Swift
var text: String? { get }Objective-C
@property(nonatomic, nullable, readonly) NSString *text - 
                  
                  
Declaration
Swift
var textColor: UIColor? { get }Objective-C
@property(nonatomic, nullable, readonly) UIColor *textColor - 
                  
                  
Declaration
Swift
var image: UIImage? { get }Objective-C
@property(nonatomic, nullable, readonly) UIImage *image - 
                  
                  
Declaration
Swift
var glyphColor: UIColor? { get }Objective-C
@property(nonatomic, nullable, readonly) UIColor *glyphColor - 
                  
                  
Returns a glyph model with the given text.
Declaration
Swift
init(text: String, textColor: UIColor)Objective-C
- (nonnull GMSPinImageGlyph *)initWithText:(nonnull NSString *)text textColor:(nonnull UIColor *)textColor;Parameters
textA
NSStringobject to use as the glyph.textColorA
UIColorobject to use to render the text.Return Value
An initialized glyph model.
 - 
                  
                  
Returns a glyph model with the given text.
Declaration
Swift
init(image: UIImage)Objective-C
- (nonnull GMSPinImageGlyph *)initWithImage:(nonnull UIImage *)image;Parameters
imageA
UIImageobject to use as the glyph.Return Value
An initialized glyph model.
 - 
                  
                  
Returns a glyph model with the given glyph color.
Declaration
Swift
init(glyphColor: UIColor)Objective-C
- (nonnull GMSPinImageGlyph *)initWithGlyphColor:(nonnull UIColor *)glyphColor;Parameters
glyphColorA
UIColorobject to use to render the glyph.Return Value
An initialized glyph model.