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

orientation auto issue on iOS #4

Open
stharvey opened this issue Jan 2, 2023 · 1 comment
Open

orientation auto issue on iOS #4

stharvey opened this issue Jan 2, 2023 · 1 comment

Comments

@stharvey
Copy link

stharvey commented Jan 2, 2023

Thanks for the work on this plugin, it's great.

However, on iOS (only tested on 15.7 iPhone 6s) the letters appear upsidedown with orientation auto:

IMG_0063.jpg

It works no problem on Android:
Screenshot_20230102-220437.png

Do you know why this might be happening?

@stharvey stharvey changed the title turnedText issue on iOS orientation auto issue on iOS Jan 2, 2023
@plepe
Copy link
Owner

plepe commented Jan 2, 2023

This is a branch of the library Leaflet.TextPath, where I tried to handle automatic orientation, and it somehow worked in some browsers. The code is still there, but I think it will never mature.

I finally had to abandon it due to browser incompatibilities. You can read more about that in the original pull request.

You can check the SVG support of your browser on this link. Please send me a screenshot of the first image (and tell me browser and OS). You can see, that these images look very different (as far as I can tell, nothing has changed during the last 4 years).

I'd like to get rid of this textpath library altogether, because it uses SVG rendering, which slow browsers down badly (alternative: canvas rendering).

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

No branches or pull requests

2 participants