Stay organized with collections Save and categorize content based on your preferences.
GMSMapLayerGMSMapLayer
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).
Swift
var cameraLatitude: CLLocationDegrees { get set }
Objective-C
@property(nonatomic) CLLocationDegrees cameraLatitude
Swift
var cameraLongitude: CLLocationDegrees { get set }
Objective-C
@property(nonatomic) CLLocationDegrees cameraLongitude
Swift
var cameraBearing: CLLocationDirection { get set }
Objective-C
@property(nonatomic) CLLocationDirection cameraBearing
Swift
var cameraZoomLevel: Float { get set }
Objective-C
@property(nonatomic) float cameraZoomLevel
Swift
var cameraViewingAngle: Double { get set }
Objective-C
@property(nonatomic) double cameraViewingAngle
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-11-15 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-11-15 UTC."],[[["`GMSMapLayer` is a custom subclass of `CALayer` used as the layer class for `GMSMapView` and should not be directly instantiated."],["It provides access to the camera properties of the `GMSMapView`, like latitude, longitude, bearing, zoom level, and viewing angle."],["Modifying or animating `GMSMapLayer` properties can interrupt user gestures on the map and vice-versa."],["Developers can use these properties to programmatically control the map's camera view."]]],[]]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4