mapboxgl-vector-tiles
mapboxgl-vector-tiles copied to clipboard
Upgrade Example for v8
I was trying to follow along with this example using mapboxgl v0.22.0 and it throws console errors due to the style being version: 7. Are there any examples of using Mapzen Vector Tile Service with Mapbox GL v8 style definition? Thanks!
The current example uses an invalid json file. If you clean that file up using
gl-style-validate
then run it through the
gl-style-migrate
as shown here https://github.com/mapbox/mapbox-gl-style-spec it will work with the newest mapbox-gl-js. However it seems that the Mapzen tiles do not adhere do the v2 tile spec. There are some rendering issues with the tiles. Also, constants are gone from the v8 style spec, which makes direct inline styling a bit more difficult.
I will add a link to a live example when I get a chance.
Hello, one year later.. i have similiar issue and i cant get to work mapzen tiles with recent mapboxgl.
Is possible to render mapzen vector tiles with maxpbox gl version 0.40.x?
I tried migration and validation tools mentioned above and still getting lot of "Vector tile source ... does not use vector tile spec v2 and therefore may have some rendering errors" and some important layers are missing (eg. street names).
My example: https://github.com/sommcz/mapboxgl-vector-tiles
Thanks for any advice.
Related issue for v2: https://github.com/tilezen/mapbox-vector-tile/issues/42
Hello, I am currently using mapbox gl js v0.4. I was trying to work with the example provided at the mapzen site. There are a lot of issues with the style since they are using a different version of mapbox gl js. Please help.
Hello we wrote a few much more complete mapbox styles that work correctly with Mapzen's vector tiles and use v8 style spec and work with latest the mapbox GL version (v0.44.1). They can be found here https://github.com/apollomapping/ap-tilezen-mapbox-styles