diff options
| author | Kumar Damani <kumar.damani@mail.utoronto.ca> | 2019-02-28 07:40:15 +0000 |
|---|---|---|
| committer | Kumar Damani <kumar.damani@mail.utoronto.ca> | 2019-02-28 07:40:15 +0000 |
| commit | 0a61d18ba0088b378fcfab6498b3a1c42f9c029f (patch) | |
| tree | 2dc863825deba71b4e683619705f02a8d685967f /web/views | |
| parent | 197f2f42091b691feb7c31308dbfc9ddde07a10f (diff) | |
sending geo data to front end, displaying it as markers, and taken out schema defs from index into models folder
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..fcc3abc 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 dumbpoints = !{JSON.stringify(points)}; + //console.log(dumbpoints); + script(src='/javascripts/map.js') |
