summaryrefslogtreecommitdiff
path: root/examples/zepler.html
diff options
context:
space:
mode:
Diffstat (limited to 'examples/zepler.html')
-rw-r--r--examples/zepler.html18
1 files changed, 10 insertions, 8 deletions
diff --git a/examples/zepler.html b/examples/zepler.html
index 0900992..843373e 100644
--- a/examples/zepler.html
+++ b/examples/zepler.html
@@ -32,14 +32,16 @@
LS.imagePath = '../resources/images/';
LS.dataPath = '../data.json';
- var map = LS.map('map', {
- indoor: true,
- zoom: 20,
- center: [50.93732, -1.39774],
- highlight: {
- "http://id.southampton.ac.uk/building/59": true
- }
- });
+ (function() {
+ var map = LS.map('map', {
+ indoor: true,
+ zoom: 20,
+ center: [50.93732, -1.39774],
+ highlight: {
+ "http://id.southampton.ac.uk/building/59": true
+ }
+ });
+ })();
</script>
</body>
</html>