Hi,
I have extracted the latest sources from Qt location repository and trying to implement the RouteQuery,RouteModel using below code. We donot see any route map updated. import QtQuick 2.0 import QtLocation 5.0 Item { width: 1240; height: 480 focus:true Map { id:newmap width: 1240; height: 480 zoomLevel: 10 center { latitude: 17.469023 longitude:78.382294 } MapCircle { id: circle1 center { latitude: 17.469023 longitude: 78.382294 } radius: 20 color: "red" } plugin: Plugin { id:myplugin name: "nokia" parameters: [ PluginParameter { name: "app_id"; value: "EiAq07CnxDB8m9keuAaU" }, PluginParameter { name: "token"; value: "X0hmmU9hliO77pcgf9UYCg" } ] } } property variant startCoordinate property variant endCoordinate startCoordinate : QtLocation.coordinate(parseFloat(17.469023), parseFloat(78.382294)); endCoordinate : QtLocation.coordinate(parseFloat(17.426588), parseFloat(78.448069)); RouteQuery{ id:routequery } RouteModel{ id: routeModel plugin: myplugin query: routequery autoUpdate: false } MapItemView{ model: routeModel delegate: routeDelegate } Component{ id: routeDelegate MapRoute { route: routeData line.color: "blue" line.width: 5 smooth: true } } Keys.onPressed: { if(event.key === Qt.Key_1) { routequery.clearWaypoints() routequery.addWaypoint(startCoordinate) routequery.addWaypoint(endCoordinate) routequery.travelModes = RouteQuery.CarTravel routeModel.update() } } } Please let us know in this regard. Thanks and Regards, Ramakanth ________________________________ DISCLAIMER: This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated.
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest