From e856f816f207d4aacb8b54a7205abd6f9b637e36 Mon Sep 17 00:00:00 2001
From: Dirk Hohndel <dirk@hohndel.org>
Date: Fri, 1 Jan 2016 22:24:05 -0800
Subject: [PATCH] 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>
---
 qt-mobile/qmlmanager.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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);
 	}