basically the most basic of leaflet maps posible
basically
| <!DOCTYPE html> | |
| <title>Most basic Leaflet</title> | |
| <link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.5/leaflet.css" /> | |
| <script src="http://cdn.leafletjs.com/leaflet-0.5/leaflet.js"></script> | |
| <style> | |
| #map { width: 960px; height: 500px;} | |
| </style> | |
| <p id="map"><p> | |
| <script> | |
| var map = new L.Map("map") | |
| .setView(new L.LatLng(37.8, -96.9), 4) | |
| .addLayer(new L.TileLayer("http://{s}.tile.cloudmade.com/3eb45b95929d472d8fe4a2a5dafbd314/998/256/{z}/{x}/{y}.png")); | |
| </script> | |