GMSPinImage
@interface GMSPinImage : UIImage
Provides a custom pin image for an advanced marker.
-
Unavailable
Declaration
Objective-C
- (instancetype)init NS_UNAVAILABLE;
-
Returns an image style with the given pin image options that can be used as a standalone
UIImage
, or as the icon of an Advanced Marker only.Declaration
Swift
/*not inherited*/ init(options: GMSPinImageOptions)
Objective-C
+ (nonnull GMSPinImage *)pinImageWithOptions: (nonnull GMSPinImageOptions *)options;
Parameters
options
A
GMSPinImageOptions
object to use to customize the marker image.Return Value
An image configured with the provided options.