-
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
"Geometry exceeds allowed extent" warning from Mapbox tiles #2568
Comments
The offending x coordinate is 16384, one more than the EXTENT_MAX of 16383. I know there was some discussion of off-by-one errors in the original PR; looks like there's still some of these lurking in either this code or our VT generation code. |
After a bit of digging, here is my understanding of the problem:
The fix is to:
Thanks to @flippmoke and @ajashton for the help! |
When I zoom out fast enough at load time in streets-v8, I got allot of those errors? PS Always performance above graphics please :P same as in video games :) |
For some reason i got this error when I had After removing it and assigning the height and width on the viewport the warning disappeared. |
I'm getting this error in the same situation as @geoangelotti, and I don't want to fall back to setting height in vh because it will mess up my layout. :( Does anyone have ideas on how to fix it? |
This warning is being triggered on data in Mapbox tiles.
To reproduce,
npm start
and load http://localhost:9966/#7.92/-0.176/0.063.The layer is
"marine-label-sm-ln"
, tile is https://a.tiles.mapbox.com/v4/mapbox.mapbox-terrain-v2,mapbox.mapbox-streets-v7/7/63/63.vector.pbfThe text was updated successfully, but these errors were encountered: