GoogleMaps Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
kGMSLayerCameraViewingAngleKey
extern NSString *const _Nonnull kGMSLayerCameraViewingAngleKey
kGMSLayerCameraViewingAngleKey ranges from zero (i.e., facing straight down) and to between 30
and 45 degrees towards the horizon, depending on the model zoom level.
@related GMSMapLayer
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 2025-08-27 UTC.
[null,null,["Last updated 2025-08-27 UTC."],[[["\u003cp\u003e\u003ccode\u003ekGMSLayerCameraViewingAngleKey\u003c/code\u003e is a constant string used to represent the viewing angle of a camera in a Google Maps layer.\u003c/p\u003e\n"],["\u003cp\u003eThe viewing angle ranges from 0 degrees (looking straight down) to 30-45 degrees towards the horizon, adjusted dynamically based on the zoom level.\u003c/p\u003e\n"],["\u003cp\u003eThis key is used within the context of \u003ccode\u003eGMSMapLayer\u003c/code\u003e for camera manipulation and perspective control.\u003c/p\u003e\n"]]],["`kGMSLayerCameraViewingAngleKey` is a constant string associated with the viewing angle of a map layer. This angle, which ranges from 0 to 30-45 degrees, determines the camera's tilt, with 0 representing a direct downward view. The maximum angle of 30-45 degrees is model-dependent and changes with the zoom level. It relates to `GMSMapLayer`.\n"],null,["# GoogleMaps Framework Reference\n\nkGMSLayerCameraViewingAngleKey\n==============================\n\n extern NSString *const _Nonnull kGMSLayerCameraViewingAngleKey\n\nkGMSLayerCameraViewingAngleKey ranges from zero (i.e., facing straight down) and to between 30\nand 45 degrees towards the horizon, depending on the model zoom level.\n\n@related [GMSMapLayer](../Classes/GMSMapLayer.html)"]]