GMSPinImageGlyph Class Reference

GMSPinImageGlyph Class Reference

Overview

Provides a custom pin image glyph for an advanced marker.

Public Member Functions

(GMSPinImageGlyph *) - initWithText:textColor:
 Returns a glyph model with the given text.
(GMSPinImageGlyph *) - initWithImage:
 Returns a glyph model with the given text.
(GMSPinImageGlyph *) - initWithGlyphColor:
 Returns a glyph model with the given glyph color.

Properties

NSString * text
UIColor * textColor
UIImage * image
UIColor * glyphColor

Member Function Documentation

- (GMSPinImageGlyph *) initWithText: (NSString *)  text
textColor: (UIColor *)  textColor 

Returns a glyph model with the given text.

Parameters:
textA NSString object to use as the glyph.
textColorA UIColor object to use to render the text.
Returns:
An initialized glyph model.
- (GMSPinImageGlyph *) initWithImage: (UIImage *)  image

Returns a glyph model with the given text.

Parameters:
imageA UIImage object to use as the glyph.
Returns:
An initialized glyph model.
- (GMSPinImageGlyph *) initWithGlyphColor: (UIColor *)  glyphColor

Returns a glyph model with the given glyph color.

Parameters:
glyphColorA UIColor object to use to render the glyph.
Returns:
An initialized glyph model.

Property Documentation

- (NSString*) text [read, assign]
- (UIColor*) textColor [read, assign]
- (UIImage*) image [read, assign]
- (UIColor*) glyphColor [read, assign]