Unsolved QML Mapviewer doesn't show route information
-
Am using Mapviewer example from Qt 5.9. I tried using "esri" as plugin since "osm" plugin had issue in loading map.
Problem:After adding markers on the map,choosing "Route to next point" doesn't show any route details. -
You will need to set a token to perform routing. This is done through an environment variable and is obtained in the main.cpp -
const QByteArray esriToken = qgetenv("ESRI_TOKEN");
More details about this are discussed here - https://doc.qt.io/qt-5/location-plugin-esri.html