diff options
-rw-r--r-- | src/location/doc/src/examples/declarative-places.qdoc | 2 | ||||
-rw-r--r-- | src/location/doc/src/qml-maps.qdoc | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/location/doc/src/examples/declarative-places.qdoc b/src/location/doc/src/examples/declarative-places.qdoc index 2fe25de7..f29f53d5 100644 --- a/src/location/doc/src/examples/declarative-places.qdoc +++ b/src/location/doc/src/examples/declarative-places.qdoc @@ -162,7 +162,7 @@ First some of the model's properties are set, which will be used to form the search request. The \l {PlaceSearchModel::searchArea}{searchArea} property is set to the - \e searchRegion object which is a \l GeoCircle with a center that is linked to the current + \e searchRegion object which is a \l [QML]{geocircle} with a center that is linked to the current location displayed on the \l Map. Finally, we define two helper functions \b searchForCategory() and \b {searchForText()}, diff --git a/src/location/doc/src/qml-maps.qdoc b/src/location/doc/src/qml-maps.qdoc index 9d75c843..7dbeda3a 100644 --- a/src/location/doc/src/qml-maps.qdoc +++ b/src/location/doc/src/qml-maps.qdoc @@ -72,7 +72,8 @@ to center a \l{Map}{map} on the current position: import QtLocation 5.3 ... - map : Map { + Map { + id: map // initialize map ... } @@ -92,7 +93,7 @@ to center a \l{Map}{map} on the current position: geographical coordinates (latitude and longitude) from other geographical references to the locations. For example, this can be a street address. Reverse geocoding is also possible with a street address being used to determine a geographical coordinate. Geocoding -is performed by using the \l GeoCodeModel type. +is performed by using the \l [QML]{GeocodeModel} type. The following code examples are a small part of the \c map component in the \l {Map Viewer (QML)}{Map Viewer (QML)} example. The snippets |