Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.5.0
-
None
Description
http://doc.qt.io/qt-5/location-plugin-osm.html
The parameter "osm.geocoding.host" is not working.
qtLocation\src\plugins\geoservices\osm\qgeocodingmanagerengineosm.cpp:
if (parameters.contains(QStringLiteral("osm.geocoding.host"))) m_urlPrefix = parameters.value(QStringLiteral("geocoding.host")).toString().toLatin1(); else m_urlPrefix = QStringLiteral("http://nominatim.openstreetmap.org");
It checks one parameter but set another("geocoding.host")
Also customization feature not used at all in file qplacemanagerengineosm.cpp:
QUrl requestUrl(QStringLiteral("http://nominatim.openstreetmap.org/search?"));
This url could not be changed