UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Pure maps navigation port

    Scheduled Pinned Locked Moved App Development
    66 Posts 20 Posters 19.5k Views 8 Watching
    Loading More Posts
    • 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.
      • dieharddanD Offline
        dieharddan @rinigus
        last edited by

        Happy to see bug #331 fixed

        Thanks

        1 Reply Last reply Reply Quote 0
        • R Offline
          rinigus
          last edited by rinigus

          Version 1.26.1 is out.

          This version has a major rewrite of navigation and follow me modes. Its remaining part of the implementation along the lines discussed this summer with Sailfish users. We have now navigation start/pause and clear road buttons accessible on map view. Clicking on manoeuvrers button, you get to combined navigation/manoeuvrers page. Speed is shown now on the top right (shows up only when you get the gps fix), next to other current manoeuvrer info (suggested by @popanz). We do have now current speed and speed limit on opposite corners of the screen, but I didn't find a better place for speed limit, unfortunately as top right is busy already.

          Its intentional that you cannot open menus and start searching while you navigate. If you wish to do it, pause the navigation and, after you finish search or some other activity, start it again.

          Translations have been updated, thanks to all translators!

          And finally, thanks to @jonnius for UBPorts packaging!

          1 Reply Last reply Reply Quote 9
          • Josele13J Offline
            Josele13
            last edited by

            Hello rinigus, I do not know if it happens to me only, in the last update you added the buttons to the left to start navigation and stop, I look for a street and then I see only the two buttons to the left to STOP or INCIATE NAVIGATION, I never use navigation because it consumes more data and I like to see everything that surrounds the map, then forces me to press the three stripes from below to the right to return to the page that tells you current position to where you're going. then I click on back and I get all the buttons on screen,

            Can you reset all the default buttons when searching for a street? after the user chooses his way of navigating.

            This appears after searching the route to a certain place.
            Captura de pantalla -2019-10-27 21-10-05.png

            I use Pure maps this way.

            Captura de pantalla -2019-10-27 21-10-36.png

            Captura de pantalla -2019-10-27 21-11-04.png

            When you have to add something or make another modification, please put all the buttons, after the user chooses how he wants to navigate,

            Captura de pantalla -2019-10-27 21-33-07.png

            I take this moment to make you a proposal, can you make a route of three places? Your position, an intermediate village and final destination.

            Thank you very much for your great work,

            Xiaomi Redmi Note 9 pro
            Oneplus Nord 100
            Xiaomi Redmi Note 7
            Nexus 5
            Bq E4.5 Ubuntu edition .... is dead

            AppLeeA 1 Reply Last reply Reply Quote 1
            • AppLeeA Online
              AppLee @Josele13
              last edited by

              @Josele13 said in Pure maps navigation port:

              then forces me to press the three stripes from below to the right to return to the page that tells you current position to where you're going

              Instead of tapping the hamburger menu (three stripes) you can tap on the cross it'll get you to the desired screen.
              You'll see the route to your destination, the normal buttons and the new buttons to easily start or delete the route.

              1 Reply Last reply Reply Quote 2
              • Josele13J Offline
                Josele13
                last edited by Josele13

                Touching the cross erases the route and I can not continue, but I will try again just in case.

                Xiaomi Redmi Note 9 pro
                Oneplus Nord 100
                Xiaomi Redmi Note 7
                Nexus 5
                Bq E4.5 Ubuntu edition .... is dead

                1 Reply Last reply Reply Quote 0
                • R Offline
                  rinigus
                  last edited by

                  Re navigation between multiple destinations: its filed as an issue and I will work on it at some point - https://github.com/rinigus/pure-maps/issues/37 . It requires rewriting navigation logic part, but that's planned.

                  Re buttons and different crosses: throughout application, the bottom panel, as in your first screenshot, indicates a special mode in which application is. Its used to show search addresses, route calculations, and such. To get out of that mode, you have to press on cross that is in that bottom bar (or you could swipe it down, as indicated by small indicator on the middle/top of that bar). hamburger button allows you to go back and adjust the corresponding settings (see other search results, adjust route parameters).

                  When route is calculated, you can get out of route calculation mode and the route will stay on the map. I presume that is what you want.

                  With the route available on the map, two new buttons appear, as you show on the first and the third screenshot. These can be hidden together with other buttons using either autohide or by tapping on a map.

                  These buttons allow you to delete the route (X) or start navigation. In this respect, cross is different on that button than when you compare with the cross on bottom bar. Probably that's a cause for confusion.

                  I hope I understood you correctly. Please reword and ask again if I misunderstood you.

                  1 Reply Last reply Reply Quote 1
                  • Josele13J Offline
                    Josele13
                    last edited by

                    Okay, I get it, I've tried it and it works well that way, perfect,

                    Thank you very much

                    Xiaomi Redmi Note 9 pro
                    Oneplus Nord 100
                    Xiaomi Redmi Note 7
                    Nexus 5
                    Bq E4.5 Ubuntu edition .... is dead

                    R 1 Reply Last reply Reply Quote 1
                    • R Offline
                      rinigus @Josele13
                      last edited by

                      @Josele13 : great! as for too large data consumption - that should be resolved with the port of offline data server. hopefully, this year 🙂

                      1 Reply Last reply Reply Quote 2
                      • T Offline
                        tigerpro
                        last edited by

                        Hello rinigus, first and foremost, thank you for porting a great app to Ubuntu Touch, I was just curious if there's any plans to add an option of trucks/lorries to the navigation options (like car, bus, train, ...) I have been driving a truck/lorry (not sure what you call them, they are trucks to me) for work and pure maps has worked out well, but there are a few routes its wanted me to go that I can't take the truck on. I would also like to take this moment to ask if you need volunteers for testing, I have Pure Maps working on my Galaxy Note 4 port of Ubuntu Touch and would love to help out, I lack knowledge on app programming though

                        Whether you think you can, or you can't, if you do not try, you will never truly know. So give it a Go.

                        1 Reply Last reply Reply Quote 0
                        • R Offline
                          rinigus
                          last edited by

                          Hi,

                          looks like there is support for trucks in Valhalla (https://github.com/valhalla/valhalla/issues/2044). Valhalla is a routing engine which calculates the best route and few other interesting parameters. It is used by offline OSM Scout Server (not ported yet, ping the porters) and Stadia. I don't know what's the status with Stadia in terms of being up-to-date with Valhalla development.

                          In addition, seems like HERE has truck support as well. In principal, we can add full HERE support as now I can comply with their license, see https://github.com/rinigus/pure-maps/issues/275 . There was one user who was interested, but I don't think (s)he implemented it. So, if there is interest, you or someone else are welcome to help.

                          Pure Maps has separate modules for each of the providers and the new functionality can be easily added via writing new extensions. If there is someone wishing to help, I'll be happy to guide through the code.

                          T 1 Reply Last reply Reply Quote 0
                          • T Offline
                            tigerpro @rinigus
                            last edited by

                            @rinigus I am always willing to help, when it comes to app development Im best classified as a noob, I can compile code though. I am willing to help implement features if theres someone that can help/guide me through the process.

                            Whether you think you can, or you can't, if you do not try, you will never truly know. So give it a Go.

                            1 Reply Last reply Reply Quote 0
                            • R Offline
                              rinigus
                              last edited by

                              If we start with HERE, see their API first. We need search (address->coordinates), routing and reverse search (coordinates->address).

                              Pure Maps uses REST API to communicate with the servers. So, check their REST API and see if you can get trucks support if you use it.

                              Docs are at https://developer.here.com/documentation

                              Routing at https://developer.here.com/documentation/routing/dev_guide/topics/request-a-simple-route.html

                              If routing seems OK, then let's start with search. Its API at https://developer.here.com/documentation/geocoder/dev_guide/topics/what-is.html

                              That API we will translate to code in https://github.com/rinigus/pure-maps/tree/master/geocoders , so Pure Maps will understand it

                              1 Reply Last reply Reply Quote 0
                              • First post
                                Last post