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 19:33:14 -0700
commitf9044b4bc9b2201b6874ff03f7988f5127c5b73d (patch)
tree5fca960cc819246fea5395204120219978aaa3a0 /app/navigation.qml
parent8347e7ed9fc117e1d10ea5071cbbfc62b7000577 (diff)
qml: add MapBox copyright attributionhalibut_8.0.2halibut/8.0.28.0.2
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')
-rwxr-xr-xapp/navigation.qml26
1 files changed, 23 insertions, 3 deletions
diff --git a/app/navigation.qml b/app/navigation.qml
index de08bf6..b1b5d9f 100755
--- 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>"
+ }
}