Why not ask your question on the new OpenStreetMap Community Forum?

I would like to use the bike layer like this one:


But I don´t know which url to use. At the moment I have just the default one:

var map = L.map('map');
L.tileLayer('http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
  attribution: 'Map data &copy; <a href="http://www.osm.org">OpenStreetMap</a>'

Any ideas?

Code from: https://github.com/mpetazzoni/leaflet-gpx

asked 01 Apr '20, 21:08

Cesp7's gravatar image

accept rate: 0%

That particular layer is provided by Thunderforest which ordinarily operates as a subscription service (there appears to be a free hobby tier).

Usage instructions are here, which links to further tutorials.

permanent link

answered 01 Apr '20, 23:03

InsertUser's gravatar image

accept rate: 19%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 01 Apr '20, 21:08

question was seen: 1,577 times

last updated: 01 Apr '20, 23:03

powered by OSQA