aboutsummaryrefslogtreecommitdiffstats
path: root/app/navigation.qml
diff options
context:
space:
mode:
authorMatt Ranostay <matt.ranostay@konsulko.com>2019-09-24 00:29:55 -0700
committerMatt Ranostay <matt.ranostay@konsulko.com>2019-09-24 01:33:34 -0700
commit466434f829547f2072c681b3cd6380a799b7f5ee (patch)
treebb79128a9564a175e9d742d601d52d5c89eff02d /app/navigation.qml
parentb4364919e5a74325812f2f527adbfe62a165109e (diff)
qml: add MapBox copyright attribution
Add attribution that is required from usage of MapBox maps Ref: https://docs.mapbox.com/help/how-mapbox-works/attribution/ Bug-AGL: SPEC-2822 Change-Id: I69990c92031f51721e2aef9b230a02c0a2e84b76 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Diffstat (limited to 'app/navigation.qml')
-rw-r--r--app/navigation.qml26
1 files changed, 23 insertions, 3 deletions
diff --git a/app/navigation.qml b/app/navigation.qml
index de08bf6..b1b5d9f 100644
--- a/app/navigation.qml
+++ b/app/navigation.qml
@@ -664,7 +664,7 @@ ApplicationWindow {
anchors.right: parent.right
anchors.rightMargin: 125
anchors.bottom: parent.bottom
- anchors.bottomMargin: 125
+ anchors.bottomMargin: 175
}
BtnMapDirection {
@@ -688,7 +688,7 @@ ApplicationWindow {
anchors.left: parent.left
anchors.leftMargin: 25
anchors.bottom: parent.bottom
- anchors.bottomMargin: 250
+ anchors.bottomMargin: 325
}
BtnEnlarge {
@@ -696,7 +696,7 @@ ApplicationWindow {
anchors.left: parent.left
anchors.leftMargin: 25
anchors.bottom: parent.bottom
- anchors.bottomMargin: 125
+ anchors.bottomMargin: 175
}
ImgDestinationDirection {
@@ -714,4 +714,24 @@ ApplicationWindow {
anchors.left: img_destination_direction.right
anchors.leftMargin: 20
}
+
+ Image {
+ visible: map.plugin.name === "mapbox"
+ anchors.left: parent.left
+ anchors.leftMargin: 35
+ anchors.bottom: parent.bottom
+ anchors.bottomMargin: 10
+ scale: 1.5
+ source: "images/mapbox_logo.svg"
+ }
+
+ Label {
+ visible: map.plugin.name === "mapbox"
+ font.pixelSize: 18
+ anchors.right: parent.right
+ anchors.rightMargin: 25
+ anchors.bottom: parent.bottom
+ anchors.bottomMargin: 10
+ text: "<a href='https://www.mapbox.com/about/maps'>© Mapbox | </a> <a href='http://www.openstreetmap.org/copyright'>© OpenStreetMap | </a> <a href='https://www.mapbox.com/map-feedback/'><strong>Improve this map</strong>"
+ }
}