summaryrefslogtreecommitdiff
path: root/styleT.html
blob: fd2c41986e718cd596643ba08a50811a914da2ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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>