-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Tile boundaries? visible on map pitch for geojson polygon source - no error #3517
Comments
I regret to say that I am unable to reproduce the bug. Can you double check that your test cases are as intended? This may be a platform-specific bug. |
I swear I could reproduce this on Chrome yesterday, but I can't reproduce it today. Puzzled. |
Map has to be just at the right pitch and bearing. The lines disappear if On Nov 3, 2016 3:36 PM, "Vladimir Agafonkin" notifications@github.com
|
Anecdotally I have seen this before and it came up only at a certain pitch and bearing so would flicker on/off as you changed those, however I couldn't reliably replicate it. Might be related to #2676 |
I wasn't sure where to report this as the symptoms are exactly the same as #2676 (but it doesn't need to be a large canvas) and #1679 (but it's not Firefox specific). This http://jsbin.com/welaqihoye/edit?html,output on Chrome for me looks like lines are appearing along the tile borders. At least I can reproduce it when reloading the page, hopefully others can reproduce too.
|
I can reproduce — thanks for the easy test case! Very weird — the lines seem to only appear on certain pitch and only in closer plane (disappearing when you pan away). Also, it rules out this being a GeoJSON-specific issue (earlier suggested by the title). |
Yeah, basically everything needed to fall into place to get a stable occurrence of the issue. Change any of map canvas size, center, pitch, rotation, zoom by too much and the problem disappears. I also can reproduce on Firefox, so I don't think it's a platform specific bug. |
The next step would probably be to get the style locally and then gradually remove layers until we get a minimal set for reproducing this (ideally just one). |
A minimal style is I also noticed it on a fill layer, if you look carefully in the same places that the artifacts from the previous example show up, the full is over painted becoming darker is some sections. http://jsbin.com/qekevo/edit?html,output (and then looks the way it does due to #3320 as it has the same flickering when changing the view)
|
@andrewharvey thanks for reducing the test case! Those lines are coming from the buffer of the vector tiles, but normally those should get clipped with a stencil buffer clipping mask. Somehow it doesn't work in this case. |
Another issue that looks very similar: #2903 |
mapbox-gl-js version: https://api.mapbox.com/mapbox-gl-js/v0.26.0/mapbox-gl.js
Steps to Trigger Behavior
Expected Behavior
Actual Behavior
Codepen Example
The text was updated successfully, but these errors were encountered: