summaryrefslogtreecommitdiff
path: root/examples/location/places/places.qml
diff options
context:
space:
mode:
authorAaron McCarthy <mccarthy.aaron@gmail.com>2014-12-12 00:43:44 +1000
committerAlex Blasche <alexander.blasche@theqtcompany.com>2015-01-27 14:50:13 +0000
commitbbb1839392f24fe133ab182ffe36b2e2b0304edf (patch)
treeb969e8b0370312b408a2714087546178bcb43845 /examples/location/places/places.qml
parentab890b333b30eda0593e7d748018ef3f4c683ddf (diff)
downloadqtlocation-bbb1839392f24fe133ab182ffe36b2e2b0304edf.tar.gz
Allow HTML based copyright notices.
In addition to the image based map copyright/attribution notice allow a geo service provider to provide a HTML string which is rendered and displayed. Add copyrightLinkActivated signal to the map to enable the application to launch the url in an external browser. The geo service providers are no longer in control of the position of the copyright notice. For the time being it will be placed at the bottom left of the map. Change-Id: I49bfc58a70e9254220903d5103c714c08f327e8b Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
Diffstat (limited to 'examples/location/places/places.qml')
-rw-r--r--examples/location/places/places.qml9
1 files changed, 7 insertions, 2 deletions
diff --git a/examples/location/places/places.qml b/examples/location/places/places.qml
index 3ed7a7cc..23330591 100644
--- a/examples/location/places/places.qml
+++ b/examples/location/places/places.qml
@@ -497,8 +497,13 @@ Item {
MapComponent {
z: backgroundRect.z + 1
- width: page.width
- height: page.height - mainMenu.height
+
+ anchors {
+ top: searchBox.bottom
+ bottom: mainMenu.top
+ left: page.left
+ right: page.right
+ }
MapItemView {
model: placeSearchModel