-
Notifications
You must be signed in to change notification settings - Fork 237
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
"Vector tile source does not use vector tile spec v2 and therefore may have some rendering errors" #88
Comments
Would be happy to make this a configurable option, probably in the .json file (and defaulting to 2 if not specified). Does anyone know (@pnorman?) whether there would be any other implications for us, or is v2 really just a tidying/formalising of the more informal v1 spec? |
That would be amazing as right now I'm hard-coding a work around. I'm unsure of the state of the spec in the past but version 2 looks pretty formal and well documented now. That link in my first post should hopefully describe the spec in enough detail to see how it differs from the current implementation in |
The winding order stuff is made more explicit |
I've just added this as a configurable option in the JSON file ( |
MBTiles with spec v2 of the Mapbox does not accept.
With setting |
Note to self: mapbox/mapnik-vector-tile#184 looks like something worth following up. |
I've added support for writing the |
Closing as I believe this is fixed now, but let me know if not. |
I'm currently serving the exported MBTiles from
tilemaker
usingtileserver-gl-light
and visualising everything in Mapbox GL JS. I noticed that Mapbox GL JS spits out warnings for each tile along the lines ofVector tile source does not use vector tile spec v2 and therefore may have some rendering errors
.After digging around I found that this is because the tiles generated by
tilemaker
have their spec version number hard-coded to1
causing Mapbox GL JS to get angry. If I change that hard-coded version number to2
then the warnings disappear.Now this is enough for me as Mapbox GL JS seems to be happy that the tiles are using version 2 of the Mapbox Vector Style Spec. However it's probably worth discussing how
tilemaker
can be officially brought inline to support version 2 of the spec.Has this been looked into yet?
The text was updated successfully, but these errors were encountered: