Advertisement
Guest User

defa

a guest
Sep 8th, 2012
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.85 KB | None | 0 0
  1. <html>
  2. <head><title>Leaflet</title>
  3. <link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.4/leaflet.css" />
  4. <!--[if lte IE 8]>
  5. <link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.4/leaflet.ie.css" />
  6. <![endif]-->
  7.  
  8. <script src="http://cdn.leafletjs.com/leaflet-0.4/leaflet.js"></script>
  9. <style type="text/css">
  10. </style>
  11. <body>
  12. <div id="map" class="map" style="height: 280px"></div>
  13. <script>
  14. var map = L.map('map').setView([51.505, -0.09], 13);
  15. L.tileLayer('http://{s}.tile.cloudmade.com/API-key/997/256/{z}/{x}/{y}.png', { attribution: 'Map data &copy; <a href="http://openstreetmap.org">OpenStreetMap</a> contributors, <a href="http://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>, Imagery © <a href="http://cloudmade.com">CloudMade</a>', maxZoom: 18 }).addTo(map);
  16. </script>
  17. </body>
  18. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement