[OpenLayers-Users] Cloudmade tiles in openlayers

Bart van den Eijnden bartvde at opengeo.org
Sun Mar 3 10:47:02 PST 2013


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 <romkebomke666 at 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 © <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
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20130303/aa6a3db0/attachment-0001.html>


More information about the Users mailing list