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. load gps map view
Qt 6.11 is out! See what's new in the release blog

load gps map view

Scheduled Pinned Locked Moved Solved General and Desktop
13 Posts 5 Posters 4.9k 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.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #4

    It's an example from the Qt 5 QtLocation module

    Interested in AI ? www.idiap.ch
    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

    1 Reply Last reply
    0
    • jerome_isAviableJ Offline
      jerome_isAviableJ Offline
      jerome_isAviable
      wrote on last edited by
      #5

      maybe you can do it easily by embed a javascript code inside an html page inside a qtwidget who show you this page...

      1 Reply Last reply
      0
      • Q Offline
        Q Offline
        QHamed
        wrote on last edited by
        #6

        you are righ dear SGiast.
        and it's a good one. but I'm not really good at QML.
        a c++ example will really help.

        1 Reply Last reply
        0
        • Q Offline
          Q Offline
          QHamed
          wrote on last edited by
          #7

          hi jerome. yes you are right but I did this before and I faced a problem. I need to load map offline and as far as I know by that way I can't save map tiles. so it will not solve my problem.

          1 Reply Last reply
          0
          • M Offline
            M Offline
            Munteanu Marian
            wrote on last edited by
            #8

            A basic C++ example:
            https://bitbucket.org/MunteanuMarian/qmapwidget/src

            1 Reply Last reply
            0
            • jerome_isAviableJ Offline
              jerome_isAviableJ Offline
              jerome_isAviable
              wrote on last edited by
              #9

              realy nice ! thanks a lot.

              1 Reply Last reply
              0
              • Q Offline
                Q Offline
                QHamed
                wrote on last edited by
                #10

                thanks Munteanu!
                this is what I need!

                1 Reply Last reply
                0
                • M Offline
                  M Offline
                  Munteanu Marian
                  wrote on last edited by
                  #11

                  You're welcomed!

                  1 Reply Last reply
                  0
                  • SGaistS SGaist

                    Hi,

                    Doesn't the "Map Viewer":http://doc.qt.io/qt-5/qtlocation-mapviewer-example.html example show what you want ?

                    Lulu31L Offline
                    Lulu31L Offline
                    Lulu31
                    wrote on last edited by
                    #12
                    This post is deleted!
                    1 Reply Last reply
                    0
                    • SGaistS SGaist

                      Hi,

                      Doesn't the "Map Viewer":http://doc.qt.io/qt-5/qtlocation-mapviewer-example.html example show what you want ?

                      Lulu31L Offline
                      Lulu31L Offline
                      Lulu31
                      wrote on last edited by
                      #13

                      @SGaist

                      I used an example from QT which is mapviewer in QT 5.6 but it is not working.
                      I mean I can't load a route if I enter a fromLatitude , fromLongitude, toLatitude and toLongitude.
                      I added logs and I see that the status of my routeModel is not ready but error and exactly undefined error.
                      I am working on ubuntu 14.04.
                      Do you have same problem than me ?

                      If I look on the application output, I can see 2 warnings but I am not sure it is the cause :
                      -qt.network.ssl: QSslSocket: cannot resolve SSLv2_client_method
                      -qt.network.ssl: QSslSocket: cannot resolve SSLv2_server_method

                      Do you think it could be the cause of the error ? If Yes, how to correct it ? Perhaps it is a problem with a proxy ?

                      Thank you in advance for your answer.

                      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