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