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

Stretchable images inc. example not working in Mac OS Safari & Firefox, Chrome OK #10180

Closed
ashleyclough opened this issue Dec 10, 2020 · 5 comments · Fixed by #10524
Closed
Assignees
Labels

Comments

@ashleyclough
Copy link

ashleyclough commented Dec 10, 2020

v2.0.0. Appears to work correctly in v1.12.0, broken in v1.13.0

https://docs.mapbox.com/mapbox-gl-js/example/add-image-stretchable/ and my maps using stretchable images display correctly in MacOS Chrome 87, marker images not visible in Safari 14.0.1 or Firefox 83.0. Dev consoles report invalid "stretchX", "stretchY" and "content" values, no errors in Chrome.

@andrewharvey
Copy link
Collaborator

andrewharvey commented Dec 11, 2020

Looks like the same issue I had at #10119 (comment) but I could never replicate it into a standalone repro. For me it was any client side images, not just stretchable ones.

I thought I still saw the issue on v2, but I'll need to re-test that.

@smonadjemi
Copy link

Similar issue here, where the overlay image does not render on Firefox (v 83) and Safari (v 14.0.1), but works fine on Chrome (v 87).
I have my own example where this is an issue, but I realized it occurs even on the map from documentations.

@mourner
Copy link
Member

mourner commented Dec 14, 2020

Confirmed! There's also an error in the console saying Error: out of range source coordinates for image copy. Will investigate, thanks for the report!

@mourner mourner self-assigned this Dec 14, 2020
@mourner
Copy link
Member

mourner commented Dec 21, 2020

Should be fixed by #10230, included in the v2.0.1 coming out this week.

@malwoodsantoro
Copy link
Contributor

@mourner I'm still seeing this issue using v2.1.1 in Firefox (86.0.1) and Safari (14.0.3) using this example -

image
image

Related https://github.com/mapbox/mapbox-gl-js-docs/issues/453

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants