summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/location/places_map/doc/images/places_map.pngbin157761 -> 167995 bytes
-rw-r--r--examples/location/places_map/main.cpp2
-rw-r--r--examples/location/places_map/places_map.qml3
3 files changed, 3 insertions, 2 deletions
diff --git a/examples/location/places_map/doc/images/places_map.png b/examples/location/places_map/doc/images/places_map.png
index 72317e2d..4982df23 100644
--- a/examples/location/places_map/doc/images/places_map.png
+++ b/examples/location/places_map/doc/images/places_map.png
Binary files differ
diff --git a/examples/location/places_map/main.cpp b/examples/location/places_map/main.cpp
index a2cd8fc0..aeb7eaf3 100644
--- a/examples/location/places_map/main.cpp
+++ b/examples/location/places_map/main.cpp
@@ -46,6 +46,8 @@ int main(int argc, char **argv)
QGuiApplication app(argc,argv);
QQuickView view;
view.setSource(QUrl(QStringLiteral("qrc:///places_map.qml")));
+ view.setWidth(360);
+ view.setHeight(640);
view.show();
return app.exec();
}
diff --git a/examples/location/places_map/places_map.qml b/examples/location/places_map/places_map.qml
index 467a31de..cd487fa9 100644
--- a/examples/location/places_map/places_map.qml
+++ b/examples/location/places_map/places_map.qml
@@ -45,8 +45,7 @@ import QtLocation 5.6
//! [Imports]
Rectangle {
- width: 360
- height: 640
+ anchors.fill: parent
//! [Initialize Plugin]
Plugin {