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

[iOS] in geojson, icons are too large #962

Closed
AAverin opened this issue Mar 23, 2022 · 4 comments
Closed

[iOS] in geojson, icons are too large #962

AAverin opened this issue Mar 23, 2022 · 4 comments
Labels

Comments

@AAverin
Copy link
Contributor

AAverin commented Mar 23, 2022

In GeoJson, icons with iconSize: 3 are much larger on iOS than on Android.

@AAverin AAverin changed the title [iOS] on geojson, icons are too large [iOS] in geojson, icons are too large Mar 23, 2022
@AAverin
Copy link
Contributor Author

AAverin commented Mar 24, 2022

The problem seems to be rather that it looks like actual icon size is dependent on screen size. On large device icons, that look quite good on Galaxy S7 now look huge.

@felix-ht
Copy link
Collaborator

This is a problem since quite a long time (For annotations as well as for geojsons)

#835 tried but did so only for ios and here only for images explicitly added.

The problem would be that hi dpi screen would load the image in a higher resolution but don't propably set the physical pixel to logical pixel ratio.

@felix-ht
Copy link
Collaborator

Overall there also seem to be some scaling issues if flutter decides to load assets of higher resolution for high dpi screens.

@stale
Copy link

stale bot commented May 23, 2022

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.

@stale stale bot added the stale label May 23, 2022
@stale stale bot closed this as completed May 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants