New basemap styling is coming soon to Google Maps Platform. This update to map styling includes a new default color palette, modernized pins, and improvements to map experiences and usability. All map styles will be automatically updated in March 2025. For more information on availability and how to opt in earlier, see
New map style for Google Maps Platform.
GoogleMaps Framework Reference
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 2024-11-15 UTC.
[null,null,["Last updated 2024-11-15 UTC."],[[["`kGMSLayerCameraViewingAngleKey` is a constant string used to represent the viewing angle of a camera in a Google Maps layer."],["The viewing angle ranges from 0 degrees (looking straight down) to 30-45 degrees towards the horizon, adjusted dynamically based on the zoom level."],["This key is used within the context of `GMSMapLayer` for camera manipulation and perspective control."]]],["`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"]]