aboutsummaryrefslogtreecommitdiff
path: root/web/views/map.pug
diff options
context:
space:
mode:
authorKumar Damani <damani.kumar@gmail.com>2019-03-05 20:49:57 +0000
committerGitHub <noreply@github.com>2019-03-05 20:49:57 +0000
commit97ae21bf83fb04526269442e2fa3954d99d18665 (patch)
tree4ef4ed4b8e9a079b504c7c31e5f5932bbe459f05 /web/views/map.pug
parentc16d2af861f4ed452b2b43f087290f5c0889c34d (diff)
parenta08006f89b4252c5edd2d88938ba4e68010b1bd3 (diff)
Merge pull request #22 from csc301-winter-2019/feat7-qa-merging
Feat7 qa merging
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')