HereSDKImageAnnotationStyle

@interface HereSDKImageAnnotationStyle : HereSDKAnnotationStyle

A style class for image annotation style, for styling annotations with a specified image.

  • Initializer for the image annotation style.

    Declaration

    Objective-C

    + (nonnull instancetype)styleWithImage:(nonnull UIImage *)image;

    Swift

    convenience init(image: UIImage)

    Parameters

    image

    Image to be used for the annotation.

    Return Value

    An image annotation style with image.

  • Image used for displaying the HereSDKPointAnnotation object on the map

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) UIImage *_Nonnull image;

    Swift

    var image: UIImage { get set }