summaryrefslogtreecommitdiff
path: root/styleT.html
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2015-05-06 21:31:56 +0100
committerChristopher Baines <mail@cbaines.net>2015-06-10 18:14:55 +0100
commit151e1e5ac01a3c2b06e5aa75b28168e8a35463d8 (patch)
tree49d2c335aaf08d4c83620fbb74a24c22b7fb44e3 /styleT.html
downloadosm-intro-151e1e5ac01a3c2b06e5aa75b28168e8a35463d8.tar
osm-intro-151e1e5ac01a3c2b06e5aa75b28168e8a35463d8.tar.gz
Diffstat (limited to 'styleT.html')
-rw-r--r--styleT.html32
1 files changed, 32 insertions, 0 deletions
diff --git a/styleT.html b/styleT.html
new file mode 100644
index 0000000..fd2c419
--- /dev/null
+++ b/styleT.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/transport/{z}/{x}/{y}.png', {
+ attribution: '&copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'
+ }).addTo(map);
+ </script>
+ </body>
+</html>