diff options
author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2023-02-20 15:59:04 +0100 |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2023-02-21 04:50:32 +0100 |
commit | 7580137c8fd295ba1b3abd3199cf9eb4fd949690 (patch) | |
tree | 64f1815e008f049ceb5704c16a982b5a2d6332b1 /examples | |
parent | 992f57fcf993b9804dcda9b12bf4d67ed102f284 (diff) | |
download | qtlocation-7580137c8fd295ba1b3abd3199cf9eb4fd949690.tar.gz |
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
Pick-to: 6.5
Change-Id: I8ee2b55d8a48afa6f700be1edab06f2364c6ff04
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
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 { |