TTCurrentPositionTrackingObject

Objective-C

@interface TTCurrentPositionTrackingObject : TTTrackingObject

Swift

class TTCurrentPositionTrackingObject : TTTrackingObject

Base class defining current positon to tracking object indicator that can be added to the map. BETA

  • Creates a tracking object with the specified view with image for normal and dimmed states.

    Declaration

    Objective-C

    - (instancetype _Nonnull)initWithNormalIcon:(id)normalIcon
                                 withDimmedIcon:(id)dimmedIcon;

    Swift

    init(normalIcon: Any!, withDimmedIcon dimmedIcon: Any!)

    Parameters

    normalIcon

    The UIImage for normal state.

    dimmedIcon

    The UIImage for dimmed state e.g. (No GPS for Location Manager).

    Return Value

    TTCurrentPositionTrackingObject.

  • Updates the color of the active accuracy indicator area.

    Declaration

    Objective-C

    - (void)setInaccuracyAreaColor:(id)areaColor;

    Swift

    func setInaccuracyAreaColor(_ areaColor: Any!)

    Parameters

    areaColor

    Color of the active accuracy indicator area.

  • Updates the color of the inactive (dimmed) accuracy indicator area.

    Declaration

    Objective-C

    - (void)setDimmedInaccuracyAreaColor:(id)areaColor;

    Swift

    func setDimmedInaccuracyAreaColor(_ areaColor: Any!)

    Parameters

    areaColor

    Color of the inactive accuracy indicator area.