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

line pattern not scaling consistently #260

Open
dieterdreist opened this issue Mar 20, 2022 · 5 comments
Open

line pattern not scaling consistently #260

dieterdreist opened this issue Mar 20, 2022 · 5 comments
Labels
bug Something isn't working iOS

Comments

@dieterdreist
Copy link

dieterdreist commented Mar 20, 2022

I set a line pattern via sprite and it works well in the js preview in the browser, but on iOS retina the pattern is distorted / cut and looking very differently. Is this a known issue? I found something in the Mapbox repository about this problem, for example here mapbox/mapbox-gl-native#16359

@dieterdreist
Copy link
Author

Here an example:

Non retina gljs renderer

Screenshot 2022-03-21 at 09 25 16
Screenshot 2022-03-21 at 09 25 05
Screenshot 2022-03-21 at 09 25 28

iPhone7

IMG_5001
IMG_4998
IMG_4999

@louwers louwers added iOS bug Something isn't working more info needed Further information is requested labels Jan 25, 2023
@louwers
Copy link
Collaborator

louwers commented Jan 25, 2023

@dieterdreist Can you provide a reproduction?

@dieterdreist
Copy link
Author

I just updated and I can confirm it still exists.
Here is a test style with sprites and tiles to test around 12.51E / 41.85N
test-style.zip

@louwers louwers removed the more info needed Further information is requested label Mar 9, 2023
@louwers
Copy link
Collaborator

louwers commented Sep 22, 2023

Could you try out the Metal pre-release: #1609 ?

@dieterdreist
Copy link
Author

I didn't manage to use the prerelease, but with the current 6.3.1 the problem is still there, but it is looking differently.

Here screenshots from the same area:
IMG_1064
IMG_1065

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

No branches or pull requests

2 participants