Is it possible to load a Thunderforest Open Cycle Map as an AGOL basemap?

1984
3
Jump to solution
06-04-2017 01:08 PM
deleted-user-zc_J5JescS67
New Contributor

I have tried entering the API I got for Thunderforest Open Cycle Map to use as a basemap in AGOL, but all it turns up is a blank page. I've been able to open it up in other platforms - leaflet, qgis2web plugin - but it won't work in AGOL.

Any advice? thanks

0 Kudos
1 Solution

Accepted Solutions
XiaolongFeng1
New Contributor III

Edward,

Just use this URL:

https://{subDomain}.tile.thunderforest.com/cycle/{level}/{col}/{row}.png?apikey=b60c02dc2f1c476983e78e9b863fc6d1

Do not remove those words: "subDomain", "level", "col", "row". Just copy the URL above and paste it, then it should work.

View solution in original post

0 Kudos
3 Replies
XiaolongFeng1
New Contributor III

Hi Edward,

Yes you can add the Open Cycle Map to ArcGIS Online, you just need to alter the URL a little bit.

From the provided example in Thunderforest's page, the url is like this:

https://{s}.tile.thunderforest.com/cycle/{z}/{x}/{y}.png?apikey=<insert-your-apikey-here>

But for ArcGIS Online, you need something like this:

http://{subDomain}.tile.opencyclemap.org/cycle/{level}/{col}/{row}.png

You can follow the steps here to add a tile layer to the map: Add layers—ArcGIS Online Help | ArcGIS 

When you input the URL, you should input this:

https://{subDomain}.tile.thunderforest.com/cycle/{level}/{col}/{row}.png?apikey=<insert-your-apikey-here>

Then you need to define the subDomains - in Thunderforest's case, it should be "a,b,c".

Then you'll be all set and able to use the base map. Enjoy!

deleted-user-zc_J5JescS67
New Contributor

I have tried every form of what you have suggested and nothing works, I

just get a blank basemap, repeatedly. OSM seems to work fine.... Here's my

API key along with the URL Thunderforest provides. Could you let me know

exactly what should work, in case I'm making some minor mistake? I'm sure I

did everything else correctly - add tile layer from web, set extents, etc.

https://{a,b,c}.

tile.thunderforest.com/cycle///.png?apikey=b60c02dc2f1c476983e78e9b863fc6d1

Thanks!

0 Kudos
XiaolongFeng1
New Contributor III

Edward,

Just use this URL:

https://{subDomain}.tile.thunderforest.com/cycle/{level}/{col}/{row}.png?apikey=b60c02dc2f1c476983e78e9b863fc6d1

Do not remove those words: "subDomain", "level", "col", "row". Just copy the URL above and paste it, then it should work.

0 Kudos