Pure maps navigation port
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.
I use Pure maps this way.
When you have to add something or make another modification, please put all the buttons, after the user chooses how he wants to navigate,
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,
AppLee last edited by
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.
Josele13 last edited by Josele13
Touching the cross erases the route and I can not continue, but I will try again just in case.
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.
Josele13 last edited by
Okay, I get it, I've tried it and it works well that way, perfect,
Thank you very much
@Josele13 : great! as for too large data consumption - that should be resolved with the port of offline data server. hopefully, this year
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
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.
@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.
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
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