AI-generated Key Takeaways
-
GMSMutableCameraPositionis a mutable version ofGMSCameraPosition, allowing for modification of camera properties. -
It provides properties to control the camera's target location (
target), zoom level (zoom), bearing/rotation (bearing), and viewing angle (viewingAngle). -
Developers can use this class to dynamically adjust the camera's perspective within a map view.
GMSMutableCameraPosition
@interface GMSMutableCameraPosition : GMSCameraPositionMutable version of GMSCameraPosition.
-
Declaration
Swift
var target: CLLocationCoordinate2D { get set }Objective-C
@property(nonatomic) CLLocationCoordinate2D target -
Declaration
Swift
var zoom: Float { get set }Objective-C
@property(nonatomic) float zoom -
Declaration
Swift
var bearing: CLLocationDirection { get set }Objective-C
@property(nonatomic) CLLocationDirection bearing -
Declaration
Swift
var viewingAngle: Double { get set }Objective-C
@property(nonatomic) double viewingAngle