-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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 rendering problem #2854
Comments
What's the buffer size on those tiles? |
I wonder if this could be a true positive of the "Geometry exceeds allowable extent" error message. ref #2568 |
@mourner I use tilelive-bridge to generate vector tiles. I use the default configuration, which the extent should be 4096 and buffer is 128, I guess. Here is one of my tile: http://218.244.250.70:8090/api/v1/tilesets/foxgis/admin2/8/210/99.vector.pbf |
I remember seeing a very similar issue earlier but can't recall the number... |
I tried to render my style using mapbox-gl-native, same problem happens. Maybe it is the new earcut engine causing the problem? |
I get the warning:
So confirmed it is the problem of buffer size |
possibly the same issue as #2676 (though I only notice it for large a canvas of 4096px) |
@jingsam are you still seeing the "Geometry exceeds allowed extent" warning message using v0.21.0? |
@lucaswoj Yes, v0.21.0 has the warning: Geometry exceeds allowed extent, reduce your vector tile buffer size http://jsfiddle.net/jingsam/9g7otrp5/1/ |
@jingsam can you try reducing the vector tile buffer size?
|
This problem should be fixed by reducing your buffer size. |
Recently I upgraded mapbox-gl-js from 0.11.0 to 0.20.0, some wired artifacts appear with line feature rendering.
ENV: Windows 10, Chrome 51, vector tile v2(created by tilelive-bridge)
I have created a jsFiddle. Please help me, thanks.
The text was updated successfully, but these errors were encountered: