See: http://developers.cloudmade.com/wiki/21/CloudMade_Tiles

Best regards,
Bart

-- 
Bart van den Eijnden
OpenGeo - http://opengeo.org
Expert service straight from the developers.



On Mar 2, 2013, at 9:49 PM, romke bomke <romkebomke...@yahoo.com> wrote:

> 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 &copy; <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
> us...@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users

_______________________________________________
Users mailing list
us...@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to