author | primal primal007@gmail.com |
Sun, 04 Dec 2011 00:16:07 +0530 | |
branch | 2011 |
changeset 503 | 2fd1aa38924e |
parent 469 | 40025d462588 |
permissions | -rw-r--r-- |
var map = new L.Map('map'); var cloudmadeUrl = 'http://{s}.tile.cloudmade.com/3d56af3a9c9248eb8bca93645a548e76/997/256/{z}/{x}/{y}.png', cloudmadeAttrib = 'Map data © 2011 OpenStreetMap contributors, Imagery © 2011 CloudMade', cloudmade = new L.TileLayer(cloudmadeUrl, {maxZoom: 18, attribution: cloudmadeAttrib}); var london = new L.LatLng(51.505, -0.09); // geographical point (longitude and latitude) map.setView(london, 13).addLayer(cloudmade);