summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/location/doc/src/qml-maps.qdoc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/location/doc/src/qml-maps.qdoc b/src/location/doc/src/qml-maps.qdoc
index 87dd24128..5e9c11627 100644
--- a/src/location/doc/src/qml-maps.qdoc
+++ b/src/location/doc/src/qml-maps.qdoc
@@ -65,11 +65,11 @@ Here is an example of a client that uses a \l{PositionSource}{position source}
to center a \l{Map}{map} on the current position:
\code
- Rectangle {
+ import QtPositioning 5.2
+ import QtLocation 5.3
+ ...
- import QtPositioning 5.2
- import QtLocation 5.3
- ...
+ Rectangle {
Map {
id: map