Hello, I'm quite new to this. How do I get tiles that are served from cloudmade
to be used in openlayers? What would my declarations have to be to create a new
map and a new layer?
With leaflet my declaration, using the URL of cloudmade, is:
<code>
L.tileLayer('http://{s}.tile.cloudmade.com/{API}/2059/256/{z}/{x}/{y}.png', {
maxZoom: 18,
attribution: 'Map data © <a
href="http://openstreetmap.org">OpenStreetMap</a> contributors, <a
href="http://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>, Imagery ©
<a href="http://cloudmade.com">CloudMade</a>'
}).addTo(map);
</code>
Thanks for any help,
Romke
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users