Team:St Andrews/Team2
From 2012.igem.org
(Difference between revisions)
Line 75: | Line 75: | ||
<script src="http://dl.dropbox.com/u/491730/iGEm/leaflet.js"></script> | <script src="http://dl.dropbox.com/u/491730/iGEm/leaflet.js"></script> | ||
<script> | <script> | ||
- | var layer = new L.StamenTileLayer("toner"); | + | var layer = new L.StamenTileLayer("toner"); |
var map = new L.Map('map'); | var map = new L.Map('map'); | ||
+ | map.addLayer(layer); | ||
var cloudmadeUrl = 'http://{s}.tile.cloudmade.com/BC9A493B41014CAABB98F0471D759707/997/256/{z}/{x}/{y}.png', | var cloudmadeUrl = 'http://{s}.tile.cloudmade.com/BC9A493B41014CAABB98F0471D759707/997/256/{z}/{x}/{y}.png', | ||
Line 99: | Line 100: | ||
circle.bindPopup("I am a circle."); | circle.bindPopup("I am a circle."); | ||
map.addLayer(circle); | map.addLayer(circle); | ||
- | |||
Revision as of 12:36, 7 June 2012