diff --git a/app.py b/app.py index e125455..7264406 100755 --- a/app.py +++ b/app.py @@ -19,7 +19,7 @@ def index(): def showMap(threewords): try: lat, lng = these.decode(threewords) - return template('map', lat=lat, lng=lng) + return template('map', lat=lat, lng=lng, threewords=threewords) except: return template('index', err="Could not find location {}".format(threewords)) diff --git a/views/map.html b/views/map.html index f1fddb0..00a5676 100644 --- a/views/map.html +++ b/views/map.html @@ -15,12 +15,19 @@