diff options
| author | ivanshen <iwshen11@gmail.com> | 2019-03-05 04:12:16 +0000 |
|---|---|---|
| committer | ivanshen <iwshen11@gmail.com> | 2019-03-05 04:12:16 +0000 |
| commit | 786d0aacd27f27875568c7a89d9e1df918fadbf3 (patch) | |
| tree | e313a040f1a44d8a3f7cfb51736f295b94d76df6 /web/views | |
| parent | c16d2af861f4ed452b2b43f087290f5c0889c34d (diff) | |
| parent | 18cfcf14ea982d3277d819b88b0dd4df96da40d0 (diff) | |
Merge branch 'qa' of github.com:csc301-winter-2019/project-team-02 into qa
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') |
