Guest User

Untitled

a guest
Oct 18th, 2012
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var cloudmadeUrl = 'http://mywebsite.com/map/{z}/{x}/{y}.jpg',
  2.             cloudmadeAttribution = 'map name';
  3.        
  4.         var cloudmade = L.tileLayer(cloudmadeUrl, { maxZoom: 4, minZoom: 2, attribution: cloudmadeAttribution, tms: true, continuousWorld: true });
  5.            
  6.         var map = L.map('map', {layers: cloudmade}).setView(new L.LatLng(-10, 0), 2);
Advertisement
Add Comment
Please, Sign In to add comment