AI-generated Key Takeaways
- 
          
GMSPinImageprovides custom pin images for advanced markers in Google Maps. - 
          
It is initialized using
pinImageWithOptions:with aGMSPinImageOptionsobject for customization. - 
          
You can use the resulting image as a standalone
UIImageor as an icon for an advanced marker. 
GMSPinImage
@interface GMSPinImage : UIImageProvides 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
optionsA
GMSPinImageOptionsobject to use to customize the marker image.Return Value
An image configured with the provided options.