From b056b4c4d56fc496216742c1bce7db4f411c0def Mon Sep 17 00:00:00 2001 From: Rinigus Date: Fri, 8 Jun 2018 20:48:53 +0300 Subject: [PATCH] set osmscout guide query to poitype --- modules/mod_onlineServices/offline_providers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/mod_onlineServices/offline_providers.py b/modules/mod_onlineServices/offline_providers.py index 17130c9b..4c68e4bc 100644 --- a/modules/mod_onlineServices/offline_providers.py +++ b/modules/mod_onlineServices/offline_providers.py @@ -124,7 +124,7 @@ def search(self, term=None, around=None, term = term.encode("utf-8") params = { 'limit': maxResults, - 'query': term, + 'poitype': term, 'radius': radius, 'lat' : around.lat, 'lng' : around.lon