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

update README urlTemplate #16

Closed
jpgilchrist opened this issue Mar 13, 2018 · 3 comments
Closed

update README urlTemplate #16

jpgilchrist opened this issue Mar 13, 2018 · 3 comments

Comments

@jpgilchrist
Copy link

Was following the instructions, but 'https://api.tiles.mapbox/v4...' didn't work. I had to remove the 'tiles' portion... so it was: "https://api.mapbox.com/v4/{id}/{z}/{x}/{y}@2x.png?access_token={accessToken}"

@johnpryan
Copy link
Collaborator

Weird! It doesn't seem to matter for me. I am using:

https://api.tiles.mapbox.com/v4/{id}/{z}/{x}/{y}@2x.png?access_token={accessToken}

but the .tiles can be removed, and matches the documentation

https://api.tiles.mapbox.com/v4/{id}/{z}/{x}/{y}@2x.png?access_token={accessToken}

I also see api.tiles in various places in their documentation so I'm not sure what the difference is to be honest.

@jpgilchrist
Copy link
Author

Hm I just created the account and it kept giving me a 401 with the tiles included.

@johnpryan
Copy link
Collaborator

Ok, not sure what's going on with my setup, but I think 090d533 is the correct change. Thanks for filing an issue!

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