aboutsummaryrefslogtreecommitdiff
path: root/web/routes
diff options
context:
space:
mode:
Diffstat (limited to 'web/routes')
-rw-r--r--web/routes/index.js9
1 files changed, 3 insertions, 6 deletions
diff --git a/web/routes/index.js b/web/routes/index.js
index ffe1c21..3aaee01 100644
--- a/web/routes/index.js
+++ b/web/routes/index.js
@@ -47,13 +47,10 @@ router.get('/', function(req, res, next) {
/* GET Map page. */
router.get('/map', function(req,res) {
- // we can use the database to fetch a point, SELECT coordinates
- Json.findOne({name: "points"}, 'coordinates', function(e,point){
- if (e) return e;
- // send the view lat, and long.
+ // send the view lat, and long. city center
res.render('map', {
- lat : point.coordinates[1],
- lng : point.coordinates[0]
+ lat : 43.654127,
+ lng : -79.383370
});
});
});