aboutsummaryrefslogtreecommitdiffstats
path: root/qt-mobile
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-01-01 22:24:05 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-01-01 22:24:05 -0800
commite856f816f207d4aacb8b54a7205abd6f9b637e36 (patch)
tree343164fae8d8db90acfc4b81d488bc9b2140ee0a /qt-mobile
parentfa338a26b8b4e390c6acc391e159dff8859dd519 (diff)
downloadsubsurface-e856f816f207d4aacb8b54a7205abd6f9b637e36.tar.gz
QML UI: use better Google maps link
This still isn't the user experience that I want, but at least now it's not a static map image anymore but an interactive map. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-mobile')
-rw-r--r--qt-mobile/qmlmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-mobile/qmlmanager.cpp b/qt-mobile/qmlmanager.cpp
index f976a4bb6..23c620e4c 100644
--- a/qt-mobile/qmlmanager.cpp
+++ b/qt-mobile/qmlmanager.cpp
@@ -597,7 +597,7 @@ void QMLManager::setStartPageText(QString text)
void QMLManager::showMap(QString location)
{
if (!location.isEmpty()) {
- QString link = QString("https://maps.googleapis.com/maps/api/staticmap?center=%1&zoom=15&size=600x400&maptype=satellite&markers=color:red|%2")
+ QString link = QString("https://www.google.com/maps/place/%1/@%2,5000m/data=!3m1!1e3!4m2!3m1!1s0x0:0x0")
.arg(location).arg(location);
QDesktopServices::openUrl(link);
}