summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@entrouvert.com>2019-06-05 14:05:05 (GMT)
committerFrédéric Péters <fpeters@entrouvert.com>2019-06-05 14:05:05 (GMT)
commita707b8a80ea5673c8f7a9afb4726d1d6c34b6dba (patch)
tree6f1864a4dfbbb9d1b1a85bdc6b1b544a34776400
parent1f81955eb168be8e9222389e85f89955556b49a2 (diff)
downloadcombo-plugin-gnm-a707b8a80ea5673c8f7a9afb4726d1d6c34b6dba.zip
combo-plugin-gnm-a707b8a80ea5673c8f7a9afb4726d1d6c34b6dba.tar.gz
combo-plugin-gnm-a707b8a80ea5673c8f7a9afb4726d1d6c34b6dba.tar.bz2
misc: fix default airquality geolocationv5.0
-rw-r--r--combo_plugin_gnm/templatetags/gnm.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/combo_plugin_gnm/templatetags/gnm.py b/combo_plugin_gnm/templatetags/gnm.py
index a04a80f..b52cb57 100644
--- a/combo_plugin_gnm/templatetags/gnm.py
+++ b/combo_plugin_gnm/templatetags/gnm.py
@@ -530,7 +530,13 @@ def get_suggestions(request, user_data, places_data):
mairie_tile = None
service_tiles = []
- airquality_tile = {'key': 'airquality', 'parameters': settings.COMBO_MAP_DEFAULT_POSITION}
+ airquality_tile = {
+ 'key': 'airquality',
+ 'parameters': {
+ 'lon': settings.COMBO_MAP_DEFAULT_POSITION['lng'],
+ 'lat': settings.COMBO_MAP_DEFAULT_POSITION['lat'],
+ },
+ }
pollen_tile = {'key': 'pollen'}
addresses = []