GMSMapLayer
@interface GMSMapLayer : GMSCALayerGMSMapLayer is a custom subclass of CALayer, provided as the layer class on GMSMapView.
This layer should not be instantiated directly. It provides model access to the camera normally
defined on GMSMapView.
Modifying or animating these properties will typically interrupt any current gesture on
GMSMapView, e.g., a user’s pan or rotation. Similarly, if a user performs an enabled gesture
during an animation, the animation will stop ‘in-place’ (at the current presentation value).
-
Declaration
Swift
var cameraLatitude: CLLocationDegrees { get set }Objective-C
@property(nonatomic) CLLocationDegrees cameraLatitude -
Declaration
Swift
var cameraLongitude: CLLocationDegrees { get set }Objective-C
@property(nonatomic) CLLocationDegrees cameraLongitude -
Declaration
Swift
var cameraBearing: CLLocationDirection { get set }Objective-C
@property(nonatomic) CLLocationDirection cameraBearing -
Declaration
Swift
var cameraZoomLevel: Float { get set }Objective-C
@property(nonatomic) float cameraZoomLevel -
Declaration
Swift
var cameraViewingAngle: Double { get set }Objective-C
@property(nonatomic) double cameraViewingAngle