diff options
author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2023-02-20 15:59:04 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2023-02-21 06:16:24 +0000 |
commit | 643817919418e871398528940cee366181550f2f (patch) | |
tree | 5e6e54d9d1c77234c808fdf643d3b8a94201b0b1 /examples | |
parent | 7c37a84aa86bffec0fb9323a2c5db68ed3eb6527 (diff) |
Improve documentation and fix warnings and examples
- Waypoint was removed in bf12a34712d14d382b410b5ba5154eba90963675,
so remove the documentation for the QML type
- document the icon QML type from the Places module
- remove dead code from example
- adjust snippet quoting to changes
- fix some qdoc warnings
Change-Id: I8ee2b55d8a48afa6f700be1edab06f2364c6ff04
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
(cherry picked from commit 7580137c8fd295ba1b3abd3199cf9eb4fd949690)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/location/minimal_map/doc/src/minimal_map.qdoc | 6 | ||||
-rw-r--r-- | examples/location/minimal_map/main.qml | 7 |
2 files changed, 2 insertions, 11 deletions
diff --git a/examples/location/minimal_map/doc/src/minimal_map.qdoc b/examples/location/minimal_map/doc/src/minimal_map.qdoc index 24b89247..533ac79d 100644 --- a/examples/location/minimal_map/doc/src/minimal_map.qdoc +++ b/examples/location/minimal_map/doc/src/minimal_map.qdoc @@ -41,11 +41,7 @@ it visible. The window will be filled by a \l [QML]{Map} item showing the map. \quotefromfile minimal_map/main.qml \skipto import -\printuntil } -\printline } -\skipto Map -\printuntil } -\printline } +\printuntil The \l [QML]{Plugin} item is necessary to define the map provider we are going to use. The example can work with any of the available geo services diff --git a/examples/location/minimal_map/main.qml b/examples/location/minimal_map/main.qml index 3ddee45c..d536943e 100644 --- a/examples/location/minimal_map/main.qml +++ b/examples/location/minimal_map/main.qml @@ -14,12 +14,7 @@ Window { Plugin { id: mapPlugin - name: "osm" // "maplibregl", "esri", ... - // specify plugin parameters if necessary - // PluginParameter { - // name: - // value: - // } + name: "osm" } Map { |