HereSDKAnnotationStyle

@interface HereSDKAnnotationStyle : NSObject

An abstract superclass for annotation styles. To not be used directly. Use either HereSDKPointAnnotationStyle or HereSDKImageAnnotationStyle

  • Styling anchor type for HereSDKPointAnnotation

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) HereSDKAnnotationAnchor anchor;

    Swift

    var anchor: HereSDKAnnotationAnchor { get set }
  • Tint color for HereSDKPointAnnotation. Default is white.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) UIColor *_Nonnull tintColor;

    Swift

    var tintColor: UIColor { get set }
  • A boolean value if the point annotation should be rendered flat with the map, or always facing the camera. Default is NO.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) BOOL flat;

    Swift

    var flat: Bool { get set }
  • Annotation offset in points in screen-space.

    An offset of {x:10, y:20} will move the annotation 10 points to the right and 20 points down on the screen, while an offset of {x:-10, y:-20} will move the annotation 10 points to the left and 20 points up on the screen.

    Default is {0, 0}.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) CGPoint offset;

    Swift

    var offset: CGPoint { get set }
  • A boolean value if the annotatio is tappable. If set to true, when tapping the annotation on the mapView, the mapView:didTapAnnotation: delegate callback will be called with this annotation.

    Default is ‘YES’.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) BOOL interactive;

    Swift

    var interactive: Bool { get set }