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
kGMSLayerCameraBearingKey
extern NSString *const _Nonnull kGMSLayerCameraBearingKey
kGMSLayerCameraBearingKey ranges from [0, 360), and values are wrapped.
@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."],[[["`kGMSLayerCameraBearingKey` is a constant string used to specify the bearing of a camera."],["The bearing value ranges from 0 to 360 degrees, where 0 is north and the values wrap around."],["This key is related to the `GMSMapLayer` class for managing map layers."]]],["`kGMSLayerCameraBearingKey` is a constant string key used in relation to `GMSMapLayer`. It represents the camera's bearing, which ranges from 0 to 360 degrees. The values associated with this key are wrapped, meaning that if a value exceeds 360, it will wrap back around, ensuring it stays within the specified range. It is defined as a non-null external string constant.\n"]]