TTCurrentPositionTrackingObject
@interface 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.