Update location examples to work with MapView/Handlers
MapView replaces Map in the examples to reintroduce event handling.
Some of the functionality is still in mapview.map and the code has to be
adjusted respectivly.
The following examples are affected: mapviewer, places, places_map.
The mapviewer example has a new menu to draw mapitems.
The places example draws places icons instead of a fixed marker.
Fixes: QTBUG-111005
Change-Id: I15ca2b3d3ecb7c35684b9fd4c2b7a86249add11c
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
| commit | e770809db4b6c92ee4be22b5ea021ccc505cec8f |
| parent | 51a895b3d280ce5103785e016e82b77676c26c5f |
| author | Shawn Rutledge <shawn.rutledge@qt.io> |
| committer | Matthias Rauter <matthias.rauter@qt.io> |
| commit time | Mon, 20 Feb 2023 11:26:58 +0100 |
- M examples/location/mapviewer/CMakeLists.txt
- M examples/location/mapviewer/forms/RouteListDelegate.qml
- M examples/location/mapviewer/main.cpp
- M examples/location/mapviewer/map/CircleItem.qml
- M examples/location/mapviewer/map/ImageItem.qml
- M examples/location/mapviewer/map/MapComponent.qml
- M examples/location/mapviewer/map/Marker.qml
- M examples/location/mapviewer/map/MiniMap.qml
- M examples/location/mapviewer/map/PolygonItem.qml
- M examples/location/mapviewer/map/PolylineItem.qml
- M examples/location/mapviewer/map/RectangleItem.qml
- M examples/location/mapviewer/mapviewer.qml
- M examples/location/mapviewer/menus/MapPopupMenu.qml
- M examples/location/mapviewer/menus/MarkerPopupMenu.qml
- M examples/location/places/items/MapComponent.qml
- M examples/location/places/items/SearchBar.qml
- M examples/location/places/places.qml
- M examples/location/places/resources/left.png
- M examples/location/places/resources/right.png
- M examples/location/places/resources/search.png
- M examples/location/places/views/CategoryDelegate.qml
- M examples/location/places/views/CategoryView.qml
- M examples/location/places_map/places_map.qml