Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. RouteQuery
Qt 6.11 is out! See what's new in the release blog

RouteQuery

Scheduled Pinned Locked Moved Unsolved General and Desktop
routequeryqtlocationmap
4 Posts 3 Posters 2.1k Views 1 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.
  • Q Offline
    Q Offline
    QMotza
    wrote on last edited by QMotza
    #1

    Hello every body.
    I have 3 question.

    • How i can get current user location (its preferred to do this with GPS)
    • How i can get a location (latitude and longitude) with its address
    • How i can find a route between to locations (their latitude and longitude).

    i read Qt doc and see MapViewer example,but it is too complicated.

    V 1 Reply Last reply
    0
    • jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      On which platform?
      For GPS you need a GPS receiver. Do you have one?
      For the other two questions: you could take a look at http://doc.qt.io/qt-5/location-plugin-osm.html
      Qt alone cannot do this as you need map data.
      Don't expect it to be easy - it is a complex topic.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • Q Offline
        Q Offline
        QMotza
        wrote on last edited by
        #3

        I want to sue OpenStreetMap plugin and the platform is android.
        I'm sure that qt can do this (see link) but documentation and examples are not a good resource for learning location API.

        1 Reply Last reply
        0
        • Q QMotza

          Hello every body.
          I have 3 question.

          • How i can get current user location (its preferred to do this with GPS)
          • How i can get a location (latitude and longitude) with its address
          • How i can find a route between to locations (their latitude and longitude).

          i read Qt doc and see MapViewer example,but it is too complicated.

          V Offline
          V Offline
          vladstelmahovsky
          wrote on last edited by
          #4

          @QMotza

          1. read about QtPosition
          2. read about reverse geocode
          3. read about routequeries

          yes, you can do whatever you want with Qt, but...you have to read a lot

          1 Reply Last reply
          0

          • Login

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