Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. QML Mapviewer doesn't show route information
Qt 6.11 is out! See what's new in the release blog

QML Mapviewer doesn't show route information

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
2 Posts 2 Posters 760 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    ReDi
    wrote on last edited by
    #1

    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.

    1 Reply Last reply
    0
    • L Offline
      L Offline
      ldanzinger
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      1

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved