diff options
Diffstat (limited to 'styleC.html')
-rw-r--r-- | styleC.html | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/styleC.html b/styleC.html new file mode 100644 index 0000000..e9003de --- /dev/null +++ b/styleC.html @@ -0,0 +1,32 @@ +<html> + <head> + <link rel="stylesheet" href="leaflet/dist/leaflet.css" /> + <script src="leaflet/dist/leaflet-src.js"></script> + + <style> + body { + padding: 0; + margin: 0; + } + + html, body, #map { + height: 100%; + } + </style> + </head> + <body> + <div id="map"> + </div> + + <script> + var map = L.map('map', { + center: [50.9087036, -1.4045204], // The Art House Cafe + zoom: 13 + }); + + L.tileLayer('//{s}.tile.thunderforest.com/cycle/{z}/{x}/{y}.png', { + attribution: '© <a href="http://osm.org/copyright">OpenStreetMap</a> contributors' + }).addTo(map); + </script> + </body> +</html> |