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? asked 07 Apr '13, 13:18 id94 aseerel4c26 ♦ |
Try this
answered 08 Apr '13, 19:20 amritkarma |
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. answered 07 Apr '13, 18:52 id94 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
|