I'm new to OpenStreetMap and OpenLayers and want my map to resemble the Transport Map on the OpenStreetMap website. My init() function looks like this:
My map currently looks like the Standard one. Does the OpenLayers.Layer.OSM() constructor take any parameters? |
Try this
|
I've figured it out. I used WireShark to watch what my browser was doing while using the Transport Map and I can see the following HTTP headers being sent:
Looks like it using a tile server hosted by opencyclemap.org. 1
Please make sure that you abide by the terms and conditions under which these tiles are offered!
(07 Apr '13, 21:18)
Richard ♦
1
Thanks for the link to Thunderforest and the Ts & Cs. Doh! I've only just noticed the attribution at the bottom of the Transport map to Andy Allan and opencyclemap.org so perhaps my super-sleuthing was unnecessary!
(08 Apr '13, 09:56)
id94
|