Icon Map custom visual examples
Great visual James,
Can you let me know, if you want to use a custom set of tiles from mapbox, what are the requirements. What is the strucuture of the URI that you need to pass in. e.g. https://api.mapbox.com/styles/v1/company/xyz.
I've tried various different formats for the URL and can't seem to get any to work, I just get back a blank visual.
Any help greatly appreciated.
Hi OpenDataLab
If you get a copy of the style URL from Mapbox Studio it should look something along the lines of:
mapbox://styles/[Account Name]/[Style ID]
To get this to work in Icon Map translate the Account Name and Style ID to the following format, and add in your Mapbox access token at the end.
https://api.mapbox.com/styles/v1/[Account Name]/[Style ID]/tiles/256/{z}/{x}/{y}?access_token=[Access Token]
That should do the trick.
James