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. Yet another Route plugin for QtLocation
Forum Updated to NodeBB v4.3 + New Features

Yet another Route plugin for QtLocation

Scheduled Pinned Locked Moved General and Desktop
qtlocationpluginnavigation
36 Posts 7 Posters 15.6k Views 3 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.
  • Y Offline
    Y Offline
    Yasser Sobhy
    wrote on last edited by
    #27

    @vladstelmahovsky thanks for your wonderful plugin, but I need to add more map types or styles to use in my apps

    How can I support a new MapType in your plugin?

    I am not sure what other types of maps does Google Map support, but I need something like what is used in Uber and other apps on Android. Is that possible?

    V 1 Reply Last reply
    0
    • Y Yasser Sobhy

      @vladstelmahovsky thanks for your wonderful plugin, but I need to add more map types or styles to use in my apps

      How can I support a new MapType in your plugin?

      I am not sure what other types of maps does Google Map support, but I need something like what is used in Uber and other apps on Android. Is that possible?

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

      @Yasser-Sobhy can you give an screenshot example?

      Y 1 Reply Last reply
      0
      • V vladstelmahovsky

        @Yasser-Sobhy can you give an screenshot example?

        Y Offline
        Y Offline
        Yasser Sobhy
        wrote on last edited by
        #29

        @vladstelmahovsky I have read Google Static Map API at https://developers.google.com/maps/documentation/static-maps/intro

        I think you need to add a few parameters to your plugin so maps get correctly rendered on mobile devices, these parameters are: scale, and format

        also I wonder if you plan to add Bing Maps support, you can achieve this with a few changes to you Google Map plugin, as the API is almost the same https://msdn.microsoft.com/en-us/library/ff701724.aspx

        I can create it, but I am very busy now and I have no time to do this, if you have time to write it, please do to enrich QtLocation

        Thanks

        1 Reply Last reply
        0
        • V Offline
          V Offline
          vladstelmahovsky
          wrote on last edited by
          #30

          Fixed routing in google plugin. Now path is correct

          1 Reply Last reply
          0
          • P Offline
            P Offline
            petere
            wrote on last edited by
            #31

            @vladstelmahovsky Great work!
            Is it possible to use your plugin without having a custom Qt build? Like as part of my application. assume i haven't installed the Qt sources, just .dll on my windows. If so, is there anything to pay attention to?
            Thx.

            V 1 Reply Last reply
            0
            • P petere

              @vladstelmahovsky Great work!
              Is it possible to use your plugin without having a custom Qt build? Like as part of my application. assume i haven't installed the Qt sources, just .dll on my windows. If so, is there anything to pay attention to?
              Thx.

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

              @petere if you'll build and install plugin for your Qt it will be added to Qt's plugins and should be deployed later on your target (at least it works for Android)

              1 Reply Last reply
              0
              • P Offline
                P Offline
                petere
                wrote on last edited by
                #33

                Great. Now i understand and it works - on Windows.

                1 Reply Last reply
                0
                • P Offline
                  P Offline
                  petere
                  wrote on last edited by petere
                  #34

                  @vladstelmahovsky
                  Why can i see no tiles at Terrain Map and no labels and streets at Satellite Map?
                  And which parameters are available? From your code i see:
                  ors.useragent
                  Ors.places.host
                  googlemaps.maps.apikey
                  googlemaps.maps.signature
                  googlemaps.maps.client
                  googlemaps.useragent

                  V 1 Reply Last reply
                  0
                  • P petere

                    @vladstelmahovsky
                    Why can i see no tiles at Terrain Map and no labels and streets at Satellite Map?
                    And which parameters are available? From your code i see:
                    ors.useragent
                    Ors.places.host
                    googlemaps.maps.apikey
                    googlemaps.maps.signature
                    googlemaps.maps.client
                    googlemaps.useragent

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

                    @petere

                    1. since the API is semiofficial, there might be different deviations
                    2. Some cleanup needed
                    1 Reply Last reply
                    0
                    • thamT Offline
                      thamT Offline
                      tham
                      wrote on last edited by tham
                      #36

                      Thanks for the google map plugin, I study this post, the codes of your plugin and got some questions

                      1 : All of the information of google map are obtained by static api of google map?
                      2 : How could we support offline routing, offline search by term? By now all of the routing information are get from the server, to implement offline routing, we need to

                      a : download require map, data from the server
                      b : write our own algorithms to search the locations by terms and routing? I guess every maps data got their own format, but the locations searching and routing algorithms should be the same?

                      3 : QGeoTileFetcherGooglemaps is the main class of this plugin, which in charge of create request(by static api) and get the results back by the other classes?

                      Thanks 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