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

Unable to load styles for mapbox-gl-js v0.10.0 #1455

Closed
AbrahamArun opened this issue Sep 3, 2015 · 1 comment
Closed

Unable to load styles for mapbox-gl-js v0.10.0 #1455

AbrahamArun opened this issue Sep 3, 2015 · 1 comment
Assignees

Comments

@AbrahamArun
Copy link

For mapbox-gl-js v0.10.0

As per #1436 , we are supposed to use v8 styles for the map.

I am guessing I can use any of the v8 styles mentioned in https://github.com/mapbox/mapbox-gl-styles/tree/master/styles. But none of the v8 styles are hosted anywhere yet unlike the previous versions, for eg: https://www.mapbox.com/mapbox-gl-styles/styles/outdoors-v7.json

Also when I serve the debug page of the latest source code (master), I see this same issue
screen shot 2015-09-03 at 10 38 07 am

@jfirebaugh jfirebaugh self-assigned this Sep 3, 2015
@jfirebaugh
Copy link
Contributor

Good question! I've just released updated API documentation and examples for v0.10.0, so take a look at this example. Basically, you want to use mapbox:// URLs for the style, like mapbox://styles/mapbox/streets-v8. I've added documentation for this to the description of the Map style option.

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

2 participants