Unify OSRM backends for OSM and Mapbox plugins
This patch unifies the OSRM backend in both the OSM and Mapbox plugins,
adding some extra functionalities to QGeoRouteParserOsrmV5 to handle
the extra osrm-text-instructions information coming from the Mapbox
servers.
It also adds a plugin parameter to let the user choose whether to
use the server's text instructions or the plugin-generated ones.
Change-Id: Id7ce73f4285e2e7db6872f40d72c0610847fce91
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
| commit | fe821df2179d496a3ffc853076e9c62f96abde2a |
| parent | 057fe199941b8783312abeedde315118b59ccb8e |
| author | Paolo Angelelli <paolo.angelelli@qt.io> |
| committer | Paolo Angelelli <paolo.angelelli@qt.io> |
| commit time | Wed, 29 Nov 2017 23:02:27 +0000 |
- M src/location/doc/src/plugins/mapbox.qdoc
- M src/location/maps/qgeorouteparserosrmv5.cpp
- M src/location/maps/qgeorouteparserosrmv5_p.h
- M src/plugins/geoservices/mapbox/qgeoroutereplymapbox.cpp
- M src/plugins/geoservices/mapbox/qgeoroutingmanagerenginemapbox.cpp
- M src/plugins/geoservices/mapbox/qgeoroutingmanagerenginemapbox.h