TTCameraPosition

Objective-C

@interface TTCameraPosition : NSObject <TTCameraConfiguration>

Swift

class TTCameraPosition : NSObject, TTCameraConfiguration

TTCameraPosition

  • Focal point the camera is pointing at.

    Declaration

    Objective-C

    @property (nonatomic, readonly) CLLocationCoordinate2D cameraPosition;

    Swift

    var cameraPosition: CLLocationCoordinate2D { get }
  • Animation time (in miliseconds) 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 (nonatomic, readonly) int animationDuration;

    Swift

    var animationDuration: Int32 { get }
  • Rotation angle, in degrees clockwise from north.

    Declaration

    Objective-C

    @property (nonatomic, readonly) double bearing;

    Swift

    var bearing: Double { get }
  • The tilt angle, in degrees.

    Declaration

    Objective-C

    @property (nonatomic, readonly) double pitch;

    Swift

    var pitch: Double { get }
  • Camera zoom level.

    Declaration

    Objective-C

    @property (nonatomic, readonly) double zoomLevel;

    Swift

    var zoomLevel: Double { get }