author | primal primal007@gmail.com |
Tue, 06 Dec 2011 10:20:43 +0530 | |
branch | 2011 |
changeset 512 | d41189cf344d |
parent 469 | 40025d462588 |
permissions | -rw-r--r-- |
469
40025d462588
Added map and map markers to the venue page
Parth buch <parth.buch.115@gmail.com>
parents:
diff
changeset
|
1 |
var map = new L.Map('map'); |
40025d462588
Added map and map markers to the venue page
Parth buch <parth.buch.115@gmail.com>
parents:
diff
changeset
|
2 |
var cloudmadeUrl = 'http://{s}.tile.cloudmade.com/3d56af3a9c9248eb8bca93645a548e76/997/256/{z}/{x}/{y}.png', |
40025d462588
Added map and map markers to the venue page
Parth buch <parth.buch.115@gmail.com>
parents:
diff
changeset
|
3 |
cloudmadeAttrib = 'Map data © 2011 OpenStreetMap contributors, Imagery © 2011 CloudMade', |
40025d462588
Added map and map markers to the venue page
Parth buch <parth.buch.115@gmail.com>
parents:
diff
changeset
|
4 |
cloudmade = new L.TileLayer(cloudmadeUrl, {maxZoom: 18, attribution: cloudmadeAttrib}); |
40025d462588
Added map and map markers to the venue page
Parth buch <parth.buch.115@gmail.com>
parents:
diff
changeset
|
5 |
var london = new L.LatLng(51.505, -0.09); // geographical point (longitude and latitude) |
40025d462588
Added map and map markers to the venue page
Parth buch <parth.buch.115@gmail.com>
parents:
diff
changeset
|
6 |
map.setView(london, 13).addLayer(cloudmade); |