Skip to content

Uncentered user puck when CarPlay map buttons are hidden #1849

Closed

Description

@1ec5

As of #1845, when the map buttons are hidden while navigating in CarPlay, the user puck and the map’s vanishing point are slightly off-center with respect to the safe area. The puck appears slightly to the left of where it should be, as though the map buttons are visible to the right, while the map’s vanishing point aligns with the puck.

The off-centeredness looks almost intentional, given the large vertical gap between the maneuver and trip panels. When the map buttons are shown, the puck shifts to the right as though the buttons are hidden. The buttons are unobtrusive enough that the puck’s position also looks intentional. But taken together, the puck appears to be shifting in the wrong direction when showing and hiding the buttons.

full chrome

Unfortunately, the discrepancy appears to stem from the right safe area inset being set only when the buttons are hidden. We do have to respect the right safe area inset, because that’s the inset that would presumably be affected by the maneuver and trip panels when CarPlay is set up to display its status bar on the right.

/cc @mapbox/navigation-ios

Activity

  1. added
    bug
    CarPlay
    on Nov 21, 2018
  2. added
    CarPlay
    and removed
    CarPlay
    on Jan 24, 2019
  3. stale commented on Jul 20, 2020

    @stale

    This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

  4. added
    archived
    on Jul 20, 2020
  5. removed
    archived
    on Aug 5, 2020
  6. stale commented on Mar 11, 2021

    @stale

    This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

  7. added
    archived
    on Mar 11, 2021
  8. stale commented on May 2, 2022

    @stale

    Stale.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    CarPlayarchivedbug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions