summaryrefslogtreecommitdiff
path: root/styleC.html
blob: e9003deb91f021d6a1485a72500a9a743052e7c8 (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/cycle/{z}/{x}/{y}.png', {
         attribution: '&copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'
      }).addTo(map);
    </script>
  </body>
</html>