HereSDKPointAnnotationStyle

@interface HereSDKPointAnnotationStyle : HereSDKAnnotationStyle

A style class for point annotation style, for styling annotations with a colored circle.

  • Initializer for the point annotation style.

    Declaration

    Objective-C

    + (nonnull instancetype)styleWithRadius:(CGFloat)radius;

    Swift

    convenience init(radius: CGFloat)

    Parameters

    radius

    Radius of the annotation circle in points.

    Return Value

    A point annotation style with set radius.

  • Radius of the point annotation in points.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) CGFloat radius;

    Swift

    var radius: CGFloat { get set }
  • Point annotaion outline color. Default is nil.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic, nullable) UIColor *borderColor;

    Swift

    var borderColor: UIColor? { get set }
  • Width in points of the point annotation outline. Default is 0.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) NSUInteger borderWidth;

    Swift

    var borderWidth: UInt { get set }