Groups
Groups
Sign in
Groups
Groups
cesium-dev
Conversations
Labels
About
Send feedback
Help
passing an access token to mapbox
160 views
Skip to first unread message
jl12...@gmail.com
unread,
Mar 24, 2015, 6:12:19 PM
3/24/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cesiu...@googlegroups.com
Hi all,
Is there a way to pass the access token to utilized the mapbox v4 maps ? The zoomlevel and maps must be in the middle in order to get the maps
http://api.tiles.mapbox.com/v4/mapbox.streets/2/0/0.png?access_token=my.token
The problem is that Cesium does this:
http://api.tiles.mapbox.com/v4/mapbox.streets?access_token=my.token/2/0/0.png
which will fail on the access
Thanks,
Jim
shim...@gmail.com
unread,
Mar 30, 2015, 10:32:53 AM
3/30/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cesiu...@googlegroups.com, jl12...@gmail.com
Hi, I have the same problem loading the mapbox v4 maps in Cesium, mapbox v3 maps works fine but can not get v4 maps to work, please advise...
cfber...@gmail.com
unread,
May 13, 2015, 5:16:07 PM
5/13/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cesiu...@googlegroups.com, jl12...@gmail.com
Hello, im facing the same situation, have any of you solved??? please let me know!!!
Thank you!!!
cfber...@gmail.com
unread,
May 13, 2015, 5:55:55 PM
5/13/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cesiu...@googlegroups.com, jl12...@gmail.com
Hello, as I recently wrote, I was facing the same situation, but i Fix it using the next code:
var mapBoxImageryProvider = new Cesium.OpenStreetMapImageryProvider({
url : '
https://a.tiles.mapbox.com/v4/my.map
',
fileExtension : 'png?access_token=my.token',
credit : new Cesium.Credit(
'MapBox v4.0', credit,
'
https://www.mapbox.com/
')
});
I use the fileExtension option to pass my token.
It generates the Url like this:
http://api.tiles.mapbox.com/v4/my.map/Z/X/Y.png?access_token=my.token
Hope it helps!!!!
Reply all
Reply to author
Forward
0 new messages