TTCameraPosition
@interface TTCameraPosition : NSObject
TTCameraPosition
-
Focal point the camera is pointing at.
Declaration
Objective-C
@property (readonly, assign, nonatomic) CLLocationCoordinate2D cameraPosition;
Swift
var cameraPosition: CLLocationCoordinate2D { get }
-
Animation time for the camera update. If it is not set, the defualt animation time which is 1 second will be executed. If you do not want animation, pass 0.
Declaration
Objective-C
@property (readonly, nonatomic) int animationDuration;
Swift
var animationDuration: Int32 { get }
-
Rotation angle, in degrees clockwise from north.
Declaration
Objective-C
@property (readonly, nonatomic) double bearing;
Swift
var bearing: Double { get }
-
The tilt angle, in degrees.
Declaration
Objective-C
@property (readonly, nonatomic) double pitch;
Swift
var pitch: Double { get }
-
Camera zoom level.
Declaration
Objective-C
@property (readonly, nonatomic) double zoomLevel;
Swift
var zoomLevel: Double { get }