summaryrefslogtreecommitdiff
path: root/examples/indoor.html
diff options
context:
space:
mode:
Diffstat (limited to 'examples/indoor.html')
-rw-r--r--examples/indoor.html37
1 files changed, 37 insertions, 0 deletions
diff --git a/examples/indoor.html b/examples/indoor.html
new file mode 100644
index 0000000..0e46409
--- /dev/null
+++ b/examples/indoor.html
@@ -0,0 +1,37 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <title>Map - University of Southampton</title>
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
+
+ <link rel="stylesheet" href="../src/leaflet-soton.css" />
+ <link rel="stylesheet" href="../resources/leaflet/dist/leaflet.css" />
+
+ <style>
+ body {
+ padding: 0;
+ margin: 0;
+ }
+
+ html, body, #map {
+ height: 100%;
+ }
+ </style>
+</head>
+<body>
+ <div id="map"></div>
+
+ <script src="../resources/leaflet/dist/leaflet-src.js"></script>
+
+ <script src="../src/leaflet-soton.js"></script>
+
+ <script type="text/javascript">
+ LS.dataPath = '../data.json';
+ LS.imagePath = '../resources/images/';
+
+ var map = LS.map('map', {
+ indoor: true
+ });
+ </script>
+</body>
+</html>