-
Notifications
You must be signed in to change notification settings - Fork 135
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 with offset and round caps produces rendering artifacts #566
Comments
@daniel-j-h could you please check it out with updated gl-native core version? |
Sure, do you have a pre-release binary or something like this I can point my gradle dependency to? |
Oh wait a sec, guess you're using our maps sdk rc.6 stable version and not building |
And also couple of follow-up q:
|
Sure, getting
The lineWidth(x)
lineOffset(x)
lineColor(e)
lineOpacity(1.0)
lineJoin(LineJoin.ROUND)
lineCap(LineCap.ROUND)
minZoom(10.0)
maxZoom(24.0) I just confirmed this issue happening on a real device, too, and not just the emulator (see screen from the device grab below) |
I can reproduce this on macOS in gl-native, seems like it's a bug in the line rendering. If I have to guess it's probably caused by the calculation of the rounded corners and it's offsetting the vertices incorrectly for those parts. I haven't tried it in GL-JS yet but maybe we have there the same issue. |
@daniel-j-h created an internal ticket, will let you know when this gets resolved |
Cool cool! Not urgent on my side since there are workarounds 🤗 |
Here is a similar issue I'm hitting now with
where for polygons with steep angles the line outline extends over the polygon's boundaries. I checked and it happens
it looks to me like there is an issue in offsetting the line width and steep angles. If you think this is a different issue, feel free to split it off into a separate ticket. |
Hey folks, we hit just the same issue on Mapbox GL JS mapbox/mapbox-gl-js#3809 which made check back here. I don't agree with your stale bot archiving this as this is still an issue. Do you folks have a timeline for this issue or should we look for workarounds or not use this as it seems broken across platforms? |
Hey folks, here is a rendering issue I ran into when using
it looks like the polygon's vertices don't get properly displaced and rendered then, leading to rendering artifacts.
Check out the screenshots below from the Android emulator (x86), and the artifacts at the polygon vertices / corners.
I'm on the maps sdk v10.0.0-rc.6
The text was updated successfully, but these errors were encountered: