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

Respect native scale when adding symbols on iOS #835

Merged
merged 1 commit into from
Dec 23, 2021

Conversation

igorczapski
Copy link
Contributor

@igorczapski igorczapski commented Dec 23, 2021

When adding symbols, the native scaling is ignored. (our app displays embedded images as well as custom images downloaded by the app). This causes the images to be displayed with different size.

Below is how it looks using the 0.14.0 version:
image

And here is the result with the proposed change:
image

Purple icon is loaded from assets, but the orange one is dynamic.

Copy link
Collaborator

@felix-ht felix-ht left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution LGTM - i had noticed symbols being inconsistent on ios as well

@felix-ht felix-ht merged commit da59aaa into flutter-mapbox-gl:master Dec 23, 2021
m0nac0 added a commit to maplibre/flutter-maplibre-gl that referenced this pull request May 22, 2022
https: //github.com/flutter-mapbox-gl/maps/pull/835
Co-Authored-By: igorczapski <6745789+igorczapski@users.noreply.github.com>
m0nac0 added a commit to maplibre/flutter-maplibre-gl that referenced this pull request May 22, 2022
* cherry-pick upstream#835

https: //github.com/flutter-mapbox-gl/maps/pull/835
Co-Authored-By: igorczapski <6745789+igorczapski@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants