[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-11-15 UTC."],[[["\u003cp\u003e\u003ccode\u003eGMSPinImageGlyph\u003c/code\u003e provides a way to customize the appearance of markers on a map by using text, images, or glyph colors.\u003c/p\u003e\n"],["\u003cp\u003eIt offers three initialization methods: one for text with color, one for images, and one for glyph colors.\u003c/p\u003e\n"],["\u003cp\u003eThe class exposes properties to access the text, text color, image, and glyph color used for the marker.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGMSPinImageGlyph\u003c/code\u003e is intended for advanced marker customization and is not the standard approach for basic marker styling.\u003c/p\u003e\n"]]],["GMSPinImageGlyph provides custom pin image glyphs for advanced markers. It offers properties like `text`, `textColor`, `image`, and `glyphColor` to customize the glyph's appearance. Initialization is possible via methods `initWithText:textColor:`, `initWithImage:`, and `initWithGlyphColor:`. These create a glyph model using either text and its color, an image, or a specific glyph color, respectively. The standard init method is unavailable. The glyph properties are read only.\n"],null,["GMSPinImageGlyph \n\n @interface GMSPinImageGlyph : NSObject\n\nProvides a custom pin image glyph for an advanced marker.\n- `\n ``\n ``\n `\n\n [-init](#/c:objc(cs)GMSPinImageGlyph(im)init)`\n ` \n Unavailable \n\n Declaration \n Objective-C \n\n - (instancetype)init NS_UNAVAILABLE;\n\n- `\n ``\n ``\n `\n\n [text](#/c:objc(cs)GMSPinImageGlyph(py)text)`\n ` \n\n Declaration \n Swift \n\n var text: String? { get }\n\n Objective-C \n\n @property(nonatomic, nullable, readonly) NSString *text\n\n- `\n ``\n ``\n `\n\n [textColor](#/c:objc(cs)GMSPinImageGlyph(py)textColor)`\n ` \n\n Declaration \n Swift \n\n var textColor: UIColor? { get }\n\n Objective-C \n\n @property(nonatomic, nullable, readonly) UIColor *textColor\n\n- `\n ``\n ``\n `\n\n [image](#/c:objc(cs)GMSPinImageGlyph(py)image)`\n ` \n\n Declaration \n Swift \n\n var image: UIImage? { get }\n\n Objective-C \n\n @property(nonatomic, nullable, readonly) UIImage *image\n\n- `\n ``\n ``\n `\n\n [glyphColor](#/c:objc(cs)GMSPinImageGlyph(py)glyphColor)`\n ` \n\n Declaration \n Swift \n\n var glyphColor: UIColor? { get }\n\n Objective-C \n\n @property(nonatomic, nullable, readonly) UIColor *glyphColor\n\n- `\n ``\n ``\n `\n\n [-initWithText:textColor:](#/c:objc(cs)GMSPinImageGlyph(im)initWithText:textColor:)`\n ` \n Returns a glyph model with the given text. \n\n Declaration \n Swift \n\n init(text: String, textColor: UIColor)\n\n Objective-C \n\n - (nonnull GMSPinImageGlyph *)initWithText:(nonnull NSString *)text\n textColor:(nonnull UIColor *)textColor;\n\n Parameters\n\n |-------------------|-----------------------------------------------|\n | ` `*text*` ` | A `NSString` object to use as the glyph. |\n | ` `*textColor*` ` | A `UIColor` object to use to render the text. |\n\n Return Value\n\n An initialized glyph model.\n- `\n ``\n ``\n `\n\n [-initWithImage:](#/c:objc(cs)GMSPinImageGlyph(im)initWithImage:)`\n ` \n Returns a glyph model with the given text. \n\n Declaration \n Swift \n\n init(image: UIImage)\n\n Objective-C \n\n - (nonnull GMSPinImageGlyph *)initWithImage:(nonnull UIImage *)image;\n\n Parameters\n\n |---------------|-----------------------------------------|\n | ` `*image*` ` | A `UIImage` object to use as the glyph. |\n\n Return Value\n\n An initialized glyph model.\n- `\n ``\n ``\n `\n\n [-initWithGlyphColor:](#/c:objc(cs)GMSPinImageGlyph(im)initWithGlyphColor:)`\n ` \n Returns a glyph model with the given glyph color. \n\n Declaration \n Swift \n\n init(glyphColor: UIColor)\n\n Objective-C \n\n - (nonnull GMSPinImageGlyph *)initWithGlyphColor:(nonnull UIColor *)glyphColor;\n\n Parameters\n\n |--------------------|------------------------------------------------|\n | ` `*glyphColor*` ` | A `UIColor` object to use to render the glyph. |\n\n Return Value\n\n An initialized glyph model."]]