diff options
| author | Kumar Damani <kumar.damani@mail.utoronto.ca> | 2019-02-28 17:49:21 +0000 |
|---|---|---|
| committer | Kumar Damani <kumar.damani@mail.utoronto.ca> | 2019-02-28 17:49:21 +0000 |
| commit | 5dd172866ff87842db07e563b3cb77cc3c2577a8 (patch) | |
| tree | e4691429ed02491fba13de2a1e5b5102b19ccd77 /web/views | |
| parent | 76214c83dc52d4dca6e5043fe374da57a54f9738 (diff) | |
| parent | 9764fba35cdac7e226dad65f061c09fd3d9909cc (diff) | |
merged feat7 into temp
Diffstat (limited to 'web/views')
| -rw-r--r-- | web/views/map.pug | 16 |
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') |
