Skip to content

Inconsistent ornament positioning #864

@CodeRedDev

Description

@CodeRedDev

I want to draw attention to multiple inconsistencies about ornaments and their positioning.

Edge-to-Edge / Margin

With the release of Android 15 and edge-to-edge as default UI mode even when opting out of edge-to-edge, ornaments can be positioned inside the status bar area.

Image

This can be handled pretty well using Flutter's MediaQuery.

Image

Unfortunately this fix does not translate well into iOS. Here there seems to already be padding (or margin) applied to the ornament by default.

Positioning and overlapping ornaments

This seems to not only be a cross-platform issue but rather all over inconsistency.

Positioning attribution to the left on Android will put the attribution icon next to the mapbox logo which is quiet nice.
Positioning the compass to the left is not handled alike and will result in the compass being positioned behind the scale bar.

Image
Image

Also the attribution positioning to the left on iOS results in the attribution being positioned over the mapbox logo.

You might have also spotted the different horizontal paddings for iOS and Android

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions