-
Notifications
You must be signed in to change notification settings - Fork 127
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
✨attributionButtonPosition for web #304
Conversation
For me on Firefox and Chromium browsers on Windows, the attribution looks wrong, it's just red text and has no white background and no info icon. Do you have any idea of what might be going wrong? Edit: This actually also occurs with the example app from the main branch (but can only be seen when I change the no_location_permission page such that the style is not inlined, because otherwise the style is not loaded at all) |
Two more points:
I also noticed while testing this PR that on Android, attribution for the sources is currently missing from the attribution dialog. I opened #308 for this, but it is unrelated to your work |
@m0nac0 any other things you would like me to address ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your contribution and your patience! Looks very fine to me.
By the way: I solved this by upgrading flutter. |
Fix for: #283
attributionButtonPosition
for the web targetmaplibre_gl_web/lib/src/mapbox_web_gl_platform.dart
, we default toattributionControl: false
in the _map constructor, as the attributionControl is set later when setAttributionButtonAlignment is called.compact
andcustomAttribution
options are not used currently. I'm not sure if they exists in iOS/Android.osm_style.json
exposed as an asset, as the web target does not support hardcoded stylesosm_style.json
, to make it work correctly in webAttribution example page