diff options
author | Chris Adams <chris.adams@jollamobile.com> | 2016-11-04 15:14:07 +1000 |
---|---|---|
committer | Alex Blasche <alexander.blasche@qt.io> | 2016-11-16 06:36:23 +0000 |
commit | 78c73ebf88fbb97ebb796fc71e76232af5c8f1d3 (patch) | |
tree | b225fea6cf830aa3b32eb316387e23de29f9f5df /src/plugins/geoservices/nokia/uri_constants.cpp | |
parent | 81f626f062d95abe49fcb7d8f098e54646c04034 (diff) |
Update "nokia" geoservices plugin to use HERE APIs
The old Nokia URL endpoints are being deprecated. This commit
updates the "nokia" plugin to use the modern HERE API endpoints.
It also removes the (now nonexistent) China-specific URLs.
Change-Id: Ieaf75cef1538d0ebb6a22623fc041ab504cf491f
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'src/plugins/geoservices/nokia/uri_constants.cpp')
-rw-r--r-- | src/plugins/geoservices/nokia/uri_constants.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/plugins/geoservices/nokia/uri_constants.cpp b/src/plugins/geoservices/nokia/uri_constants.cpp index 8a075328..8db47beb 100644 --- a/src/plugins/geoservices/nokia/uri_constants.cpp +++ b/src/plugins/geoservices/nokia/uri_constants.cpp @@ -38,10 +38,9 @@ QT_BEGIN_NAMESPACE const QString ROUTING_HOST = QLatin1String("route.api.here.com"); -const QString GEOCODING_HOST = QLatin1String("loc.desktop.maps.svc.ovi.com"); -const QString GEOCODING_HOST_CN = QLatin1String("pr.geo.maps.svc.nokia.com.cn"); +const QString GEOCODING_HOST = QLatin1String("geocoder.api.here.com"); +const QString REVERSE_GEOCODING_HOST = QLatin1String("reverse.geocoder.api.here.com"); const QString PLACES_HOST = QLatin1String("places.api.here.com"); -const QString PLACES_HOST_CN = QLatin1String("places.nlp.nokia.com.cn"); const QString MAP_TILES_HOST = QLatin1String("1-4.base.maps.api.here.com"); const QString MAP_TILES_HOST_AERIAL = QLatin1String("1-4.aerial.maps.api.here.com"); |