API Key for cycle maps

Started by colibris79, September 21, 2017, 08:43:22 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

colibris79

Hi,

I have tried to modify my onlinemapsources.xml to get rid of the "Api Key Required" in my maps. I have tried:
<onlinemapsource uid="3">
<name>OpenStreetMap Cyclemap</name>
<url><![CDATA[https://{s}.tile.thunderforest.com/cycle/{z}/{x}/{y}.png?apikey=MY_API_KEY]]></url>


And:
<onlinemapsource uid="3">
<name>OpenStreetMap Cyclemap</name>
<url><![CDATA[https://{$s}.tile.thunderforest.com/cycle/{$z}/{$x}/{$y}.png?apikey=MY_API_KEY]]></url>


But none of the worked. What is the right way to do it?

Thanks

orux

#1
Quote from: "colibris79"Hi,

I have tried to modify my onlinemapsources.xml to get rid of the "Api Key Required" in my maps. I have tried:
<onlinemapsource uid="3">
<name>OpenStreetMap Cyclemap</name>
<url><![CDATA[https://{s}.tile.thunderforest.com/cycle/{z}/{x}/{y}.png?apikey=MY_API_KEY]]></url>


And:
<onlinemapsource uid="3">
<name>OpenStreetMap Cyclemap</name>
<url><![CDATA[https://{$s}.tile.thunderforest.com/cycle/{$z}/{$x}/{$y}.png?apikey=MY_API_KEY]]></url>


But none of the worked. What is the right way to do it?

Thanks




Do you replace MY_API_KEY with your key?



Refresh the map list (upper button bar in the map selector view).





orux