diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2016-01-01 22:24:05 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-01-01 22:24:05 -0800 |
commit | e856f816f207d4aacb8b54a7205abd6f9b637e36 (patch) | |
tree | 343164fae8d8db90acfc4b81d488bc9b2140ee0a /qt-mobile | |
parent | fa338a26b8b4e390c6acc391e159dff8859dd519 (diff) | |
download | subsurface-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.cpp | 2 |
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); } |