Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attribution control is oddly positioned on Android #27

Open
ianthetechie opened this issue Jan 14, 2023 · 2 comments
Open

Attribution control is oddly positioned on Android #27

ianthetechie opened this issue Jan 14, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@ianthetechie
Copy link
Collaborator

Steps to Trigger Behavior

  1. Create a full-screen map view, as in the Getting Started example
  2. Launch on Android

Link to Minimal Reproducible Example

Either follow the Getting Started guide, or run the bundled examples.

Expected Behavior

Attribution button shows up in the lower right corner

Actual Behavior

It is approximately 2/3 of the way to the left side of the screen

Screenshots (if applicable)

Screenshot_1673690758

Version(s) affected

  • Platform: Android
  • OS version: API 30
  • Device type: Pixel
  • Emulator/ Simulator: Yes
  • Development OS: macOS Ventura 13.1
  • maplibre-react-native Version 9.0.0
  • MapLibre GL version 9.6.0
  • React Native Version 0.68.0 and 0.71.0 tested (probably affects all)

Additional context

This might be an upstream issue; check that with a minimal example before digging too deep.

@saheem128
Copy link

saheem128 commented Feb 18, 2023

Yes, weird! Anyways, I ended up using attributionPosition prop in the MapVIew. Eg.

<MapLibreGL.MapView
  {...otherProps}
  attributionPosition={{ right: 10, bottom: 10 }}
/>

@KiwiKilian KiwiKilian added the bug Something isn't working label Nov 21, 2024
@KiwiKilian
Copy link
Collaborator

The offset is there, when there is no logo and the default placement is used.

No Logo Logo
Image Image

Not sure, which way we should go, maybe enable the logo by default?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants