GPKGFeatureTilePointIcon

Objective-C

@interface GPKGFeatureTilePointIcon : NSObject

Swift

class GPKGFeatureTilePointIcon

Point icon in place of a drawn circle

  • X pixel offset

    Declaration

    Objective-C

    @property (nonatomic) double xOffset;

    Swift

    var xOffset: Double { get set }
  • Y pixel offset

    Declaration

    Objective-C

    @property (nonatomic) double yOffset;

    Swift

    var yOffset: Double { get set }
  • Initialize

    Declaration

    Objective-C

    - (instancetype)initWithIcon:(id)icon;

    Swift

    init!(icon: Any!)

    Parameters

    icon

    icon image

    Return Value

    new feature tile point icon

  • Pin the icon to the point, lower middle on the point

    Declaration

    Objective-C

    - (void)pinIcon;

    Swift

    func pinIcon()
  • Center the icon on the point

    Declaration

    Objective-C

    - (void)centerIcon;

    Swift

    func centerIcon()
  • Get the icon image

    Declaration

    Objective-C

    - (id)icon;

    Swift

    func icon() -> Any!

    Return Value

    icon image

  • Get the icon width

    Declaration

    Objective-C

    - (int)width;

    Swift

    func width() -> Int32

    Return Value

    icon width

  • Get the icon height

    Declaration

    Objective-C

    - (int)height;

    Swift

    func height() -> Int32

    Return Value

    icon height