Skip to content

Instantly share code, notes, and snippets.

@geohacker
Created January 13, 2012 10:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save geohacker/1605407 to your computer and use it in GitHub Desktop.
Save geohacker/1605407 to your computer and use it in GitHub Desktop.
cloudmade_layer
var map = new L.Map('map');
var cloudmadeUrl = 'http://{s}.tile.cloudmade.com/API-KEY/997/256/{z}/{x}/{y}.png',
cloudmadeAttrib = 'Map data © 2011 OpenStreetMap contributors, Imagery © 2011 CloudMade',
cloudmade = new L.TileLayer(cloudmadeUrl, {maxZoom: 18, attribution: cloudmadeAttrib});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment