GoogleMaps Framework Reference

GMSPinImageOptions

  @interface 
 GMSPinImageOptions 
 : 
 NSObject 
 

Provides pin image customization for an advanced marker.

  • An object representing a String or Image to replace the glyph on the marker

    Declaration

    Swift

      var 
     glyph 
     : 
      GMSPinImageGlyph 
     
     ? 
     { 
     get 
     set 
     } 
     
    

    Objective-C

      @property 
     ( 
     nonatomic 
     , 
     nullable 
     ) 
      GMSPinImageGlyph 
     
     * 
     glyph 
     ; 
     
    
  • The color used to fill the marker shape with.

    Declaration

    Swift

      var 
     backgroundColor 
     : 
     UIColor 
     ? 
     { 
     get 
     set 
     } 
     
    

    Objective-C

      @property 
     ( 
     nonatomic 
     , 
     nullable 
     ) 
     UIColor 
     * 
     backgroundColor 
     ; 
     
    
  • The color used for the border of the marker shape.

    Declaration

    Swift

      var 
     borderColor 
     : 
     UIColor 
     ? 
     { 
     get 
     set 
     } 
     
    

    Objective-C

      @property 
     ( 
     nonatomic 
     , 
     nullable 
     ) 
     UIColor 
     * 
     borderColor 
     ; 
     
    
Create a Mobile Website
View Site in Mobile | Classic
Share by: