From 14fac7ee65202b0af7032aaade16d1611bc43731 Mon Sep 17 00:00:00 2001 From: Paolo Angelelli Date: Fri, 26 Aug 2016 15:38:38 +0200 Subject: Fix for broken geocoding in mapviewer with OSM plugin OSM Nominatim blocks user agents for default libraries. This patch adds a specific user agent to the mapviewer example if one isn't provided by the user Change-Id: I9bc598eec6f53b0990c7cd0fb42cf3ef7807bedb Reviewed-by: Alex Blasche --- src/location/doc/src/plugins/osm.qdoc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/location/doc/src/plugins/osm.qdoc') diff --git a/src/location/doc/src/plugins/osm.qdoc b/src/location/doc/src/plugins/osm.qdoc index 75ac104d..1960fae9 100644 --- a/src/location/doc/src/plugins/osm.qdoc +++ b/src/location/doc/src/plugins/osm.qdoc @@ -63,7 +63,9 @@ a prefix. \row \li osm.useragent \li User agent string set when making network requests. This parameter should be set to a - value that uniquely identifies the application. + value that uniquely identifies the application. Note that providers might block applications not setting this + parameter, leaving it to the stock plugin user agent (e.g., \l {http://wiki.openstreetmap.org/wiki/Nominatim_usage_policy}{Nominatim} + for geocoding) \row \li osm.mapping.custom.host \li Url string set when making network requests to the tile server. This parameter should be set to a -- cgit v1.2.1