Skip to content
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

Upgrade Example for v8 #17

Open
chriswhong opened this issue Aug 15, 2016 · 5 comments
Open

Upgrade Example for v8 #17

chriswhong opened this issue Aug 15, 2016 · 5 comments

Comments

@chriswhong
Copy link

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!

@reyemtm
Copy link

reyemtm commented Nov 1, 2016

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.

@sommcz
Copy link

sommcz commented Oct 8, 2017

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.

@rmglennon
Copy link
Member

Related issue for v2: tilezen/mapbox-vector-tile#42

@amcepl
Copy link

amcepl commented Dec 14, 2017

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.

@m-abboud
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants