Introduce Waypoint
This patch replaces QGeoCoordinate with Waypoint as mean to specify
waypoints in a RouteQuery.
This patch also adds a new invokable to RouteQuery, waypointObjects,
to return QDeclarativeGeoWaypoints instead of QGeoCooordinates.
NOTE: If, by 5.11, support to perform implicit conversions in method
invocations based on converters registered in the metatype system
will be added, this method could/should be removed, and
QDeclarativeGeoWaypoint objects should be return as QVariants from
the waypoints() getter, as they could be used in place of
QGeoCoordinate when passing them as arguments.
Task-number: QTBUG-64066
Change-Id: I77747f53cdcbabe6430580b60fa59d4afe8c650a
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
| commit | 74e0f7b414432688858ce9d82a05384b4f883688 |
| parent | 3e107c6d2933b4b924100d1aab18f52f7ca40edc |
| author | Paolo Angelelli <paolo.angelelli@qt.io> |
| committer | Paolo Angelelli <paolo.angelelli@qt.io> |
| commit time | Thu, 30 Nov 2017 16:20:12 +0000 |
- M src/imports/location/location.cpp
- M src/imports/positioning/positioning.cpp
- M src/location/declarativemaps/locationvaluetypehelper.cpp
- M src/location/declarativemaps/locationvaluetypehelper_p.h
- M src/location/declarativemaps/qdeclarativegeoroutemodel.cpp
- M src/location/declarativemaps/qdeclarativegeoroutemodel_p.h
- M src/location/maps/qgeomapparameter.cpp
- M src/location/maps/qgeomapparameter_p.h
- M src/location/maps/qgeorouterequest.cpp
- M src/location/maps/qgeorouterequest.h
- M src/location/maps/qgeorouterequest_p.h
- M src/positioning/positioning.pro
- M src/positioning/qgeocoordinate.cpp
- M src/positioning/qgeocoordinate.h
- A src/positioning/qgeocoordinateobject.cpp
- A src/positioning/qgeocoordinateobject_p.h
- M tests/auto/declarative_core/tst_routing.qml
- M tests/auto/geotestplugin/qgeoroutingmanagerengine_test.h