0

before i used mapbox.js now i need use mapsboxGL.js but the mapbox.js style corresponds better to my app..

Mapbox.js mapbox.js

VS

MapboxGL.js mapboxGL.js

you know how?

Thanks

1 Answer 1

1

You cannot use a Mapbox.js style in Mapbox GL JS.

Mapbox GL JS and Mapbox.js use very different rendering technologies and therefore have incompatible style specifications.

Have you considered using Mapbox Studio to tweak the GL style you are using?

Sign up to request clarification or add additional context in comments.

4 Comments

Hello Lucas ! Thanks for your answer ! There a way to copy the style of Mapbox.js in Mapbox Studio and export to MapboxGL ?
No, you cannot use a Mapbox.js style in GL. You will have to start with the GL style and tweak it to fit your app's styling.
Ok Thanks Lucas ! :)
Hi ! I try to use custom html marker like mapbox js and is not working... there is any solution to create html marker ? Thanks

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.