GoogleNavigation Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
Page Summary
GMSMapViewPaddingAdjustmentBehavior defines how safe area insets are incorporated into the padding of a GMSMapView.
kGMSMapViewPaddingAdjustmentBehaviorAlways ensures safe area insets are always included in the padding.
kGMSMapViewPaddingAdjustmentBehaviorAutomatic uses safe area insets for layout when padding is smaller than the safe area, otherwise uses the specified padding.
kGMSMapViewPaddingAdjustmentBehaviorNever ignores safe area insets, replicating behavior prior to version 2.5.
[[["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 2025-08-27 UTC."],[],["The `GMSMapViewPaddingAdjustmentBehavior` enum defines how safe area insets are incorporated into map padding. `kGMSMapViewPaddingAdjustmentBehaviorAlways` ensures safe area insets are always part of the padding. `kGMSMapViewPaddingAdjustmentBehaviorAutomatic` uses safe area values if they exceed padding, otherwise uses padding. `kGMSMapViewPaddingAdjustmentBehaviorNever` excludes safe area insets, maintaining pre-version 2.5 behavior. These behaviors determine if the padding will be impacted by the safe area insets of the device.\n"]]