aboutsummaryrefslogtreecommitdiff
path: root/web/views/map.pug
diff options
context:
space:
mode:
authorKumar Damani <kumar.damani@mail.utoronto.ca>2019-02-28 17:49:21 +0000
committerKumar Damani <kumar.damani@mail.utoronto.ca>2019-02-28 17:49:21 +0000
commit5dd172866ff87842db07e563b3cb77cc3c2577a8 (patch)
treee4691429ed02491fba13de2a1e5b5102b19ccd77 /web/views/map.pug
parent76214c83dc52d4dca6e5043fe374da57a54f9738 (diff)
parent9764fba35cdac7e226dad65f061c09fd3d9909cc (diff)
merged feat7 into temp
Diffstat (limited to 'web/views/map.pug')
-rw-r--r--web/views/map.pug16
1 files changed, 8 insertions, 8 deletions
diff --git a/web/views/map.pug b/web/views/map.pug
index b7781fa..725c8a8 100644
--- a/web/views/map.pug
+++ b/web/views/map.pug
@@ -1,11 +1,11 @@
extends layout.pug
block content
- #sidebar
- h1 This is a sidebar
- #map
-
- script(type='text/javascript').
- var map = L.map('map').setView([#{lat},#{lng}], 15);
- script(src='/javascripts/map.js')
-
+ #sidebar
+ h1 This is a sidebar
+ #map
+ script(type='text/javascript').
+ var map = L.map('map').setView([#{lat},#{lng}], 13);
+ var points = !{JSON.stringify(points)};
+ console.log(points);
+ script(src='/javascripts/map.js')