TTChevronObject

@interface TTChevronObject : TTTrackingObject

Base class defining chevron tracking object indicator that can be added to the map. When new location is set, animation is used to move the tracking object. BETA

  • Creates a chevron tracking object with the specified view.

    Declaration

    Objective-C

    - (instancetype _Nonnull)initNormalImage:(id)normalImage
                         withNormalImageName:(NSString *_Nonnull)normalImageName
                             withDimmedImage:(id)dimmedImage
                         withDimmedImageName:(NSString *_Nonnull)dimmedImageName;

    Swift

    init(normalImage: Any!, withNormalImageName normalImageName: String, withDimmedImage dimmedImage: Any!, withDimmedImageName dimmedImageName: String)

    Parameters

    type

    type description

    normalIcon

    The icon for normal state.

    normalIconName

    The icon name for normal state.

    dimmedIcon

    The icon for dimmed state.

    dimmedIconName

    The icon name for normal dimmed.

    Return Value

    TTChevronObject

  • Default normal image for Chevron.

    Declaration

    Objective-C

    + (id)defaultNormalImage;

    Swift

    class func defaultNormalImage() -> Any!

    Return Value

    UIImage.

  • Default dimmed image for Chevron.

    Declaration

    Objective-C

    + (id)defaultDimmedImage;

    Swift

    class func defaultDimmedImage() -> Any!

    Return Value

    UIImage.