diff options
Diffstat (limited to 'map-widget/qml/MapWidget.qml')
-rw-r--r-- | map-widget/qml/MapWidget.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/map-widget/qml/MapWidget.qml b/map-widget/qml/MapWidget.qml index 9d7fad37c..5d1f60624 100644 --- a/map-widget/qml/MapWidget.qml +++ b/map-widget/qml/MapWidget.qml @@ -325,8 +325,8 @@ Item { } function openLocationInGoogleMaps(latitude, longitude) { - var loc = latitude + " " + longitude - var url = "https://www.google.com/maps/place/" + loc + "/@" + loc + ",5000m/data=!3m1!1e3!4m2!3m1!1s0x0:0x0" + var loc = latitude + "," + longitude + var url = "https://www.google.com/maps/place/@" + loc + ",5000m/data=!3m1!1e3!4m2!3m1!1s0x0:0x0" Qt.openUrlExternally(url) } |