summaryrefslogtreecommitdiff
path: root/examples/location/minimal_map/main.qml
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <tmpsantos@gmail.com>2017-04-06 17:30:48 +0300
committerPaolo Angelelli <paolo.angelelli@qt.io>2017-04-06 22:11:07 +0000
commit64cf6d6a7ca445d511760fbf07d924f6519f6779 (patch)
treec8044573da21b8ce69a638eb7e60f0344f5c04fd /examples/location/minimal_map/main.qml
parentf4cd21d2fd642fbb161860f6b729621d4e159ae3 (diff)
downloadqtlocation-64cf6d6a7ca445d511760fbf07d924f6519f6779.tar.gz
Update location screenshots
Better rendering using Mapbox GL plugin. Change-Id: I3ef1862988e652c1caad62920c2f3b5775f18552 Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io> Reviewed-by: Bruno de Oliveira Abinader <brunoabinader@gmail.com>
Diffstat (limited to 'examples/location/minimal_map/main.qml')
-rw-r--r--examples/location/minimal_map/main.qml8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/location/minimal_map/main.qml b/examples/location/minimal_map/main.qml
index 26f24986..58b1c54f 100644
--- a/examples/location/minimal_map/main.qml
+++ b/examples/location/minimal_map/main.qml
@@ -49,8 +49,8 @@ Window {
visible: true
Plugin {
- id: osmPlugin
- name: "osm"
+ id: mapPlugin
+ name: "osm" // "mapboxgl", "esri", ...
// specify plugin parameters if necessary
// PluginParameter {
// name:
@@ -60,8 +60,8 @@ Window {
Map {
anchors.fill: parent
- plugin: osmPlugin
+ plugin: mapPlugin
center: QtPositioning.coordinate(59.91, 10.75) // Oslo
- zoomLevel: 10
+ zoomLevel: 14
}
}