• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
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.4k 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.
    • R Offline
      ricardo65 @normandc
      last edited by 25 Aug 2019, 15:58

      This post is deleted!
      R 1 Reply Last reply 26 Aug 2019, 14:35 Reply Quote 0
      • R Offline
        ricardo65 @ricardo65
        last edited by 26 Aug 2019, 14:35

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • R Offline
          rinigus
          last edited by 27 Aug 2019, 18:18

          released.

          E D 2 Replies Last reply 27 Aug 2019, 20:01 Reply Quote 6
          • E Offline
            elastic @rinigus
            last edited by 27 Aug 2019, 20:01

            @rinigus works like a charm - thanks a lot for bringing this to UT looking forward to offline support
            I know I already asked this abouy the SFOS version a while ago, but will there be any chance you could add the possibility to use alternative vector maps like openandromaps for offline they provide all details I need for hikimg 😉

            R 1 Reply Last reply 27 Aug 2019, 20:14 Reply Quote 0
            • R Offline
              rinigus @elastic
              last edited by 27 Aug 2019, 20:14

              @elastic cheers!

              Re offline: we haven't started yet (except ironing out UBPorts part that will be used for osm scout server) and we may have some issues with UBPorts security model. Although, its early days and I hope all will work out just fine.

              Re additional style: as far as I remember I replied the same before - we have to make the similar style to get the same function. Assuming that they import data from OSM. So, style and import scripts will have to adjusted. Its not a trivial work, but doable and would be great to get help with these aspects of the work.

              1 Reply Last reply Reply Quote 0
              • N Offline
                normandc
                last edited by 27 Aug 2019, 22:16

                @rinigus
                Thanks! I installed it soon after your post, did have some difficulty to download it (maybe too many people trying to D/L at once 😄 ). As detailed in the OpenStore description, I'll make sure to register a MapBox API key before really starting using it. BTW I have not seen any such request for the desktop flatpak package?

                I really like Pure Maps' UI, it's very clean and intuitive and the maps are crisp.

                1 Reply Last reply Reply Quote 0
                • A Offline
                  Aurze
                  last edited by 28 Aug 2019, 00:27

                  Nexus 5 edge, I just get a black screen when I start the app 😞

                  I don't know if there is any kind of logs that could help

                  A K 2 Replies Last reply 28 Aug 2019, 00:51 Reply Quote 0
                  • A Offline
                    Aurze @Aurze
                    last edited by 28 Aug 2019, 00:51

                    @Aurze turns out rebooting the device fixed the issues. You can just ignore me.

                    1 Reply Last reply Reply Quote 0
                    • G Offline
                      gimenez
                      last edited by 28 Aug 2019, 04:58

                      Hi! good work indeed!! i like the success story of this port, could be an example to follow for other apps!

                      only unexpected issue so far for me: I couldn't copypaste the map box key , which is kind of tricky considering the size of the key itself;)

                      1 Reply Last reply Reply Quote 1
                      • R Offline
                        rinigus
                        last edited by rinigus 28 Aug 2019, 05:18

                        Re issues with key pasting: turned out that UT doesn't support copy&paste in regular QQC2 text fields. The issue was solved by switching over to the text field provided by Ubuntu Components. This will be fine in the next release, so you may wait for that as well with the key, I think.

                        Why not on Flathub: Number of users is expected to be smaller at Flathub. With Sailfish users, I observed that we were getting close to the limits - hence the request for them as well. As for UBPorts, the key is provided by the packager and he will monitor the situation. Note that it is shared commodity and it would help if the active users do register and use their own key. Note that the blessing for such registration has been given by Mapbox when I contacted them at the end of 2018.

                        PS: If I start getting issues with larger user base on Flathub, the same note will be added there as well

                        N 1 Reply Last reply 1 Sept 2019, 06:04 Reply Quote 2
                        • D Offline
                          dieharddan @rinigus
                          last edited by 28 Aug 2019, 11:54

                          @rinigus Thanks for taking the time to get this ported over rinigus! I didn't expect it to happen so fast! Thanks to Jonnius and others who assisted as well!

                          1 Reply Last reply Reply Quote 0
                          • U Offline
                            UniSuperBox
                            last edited by 28 Aug 2019, 20:48

                            @rinigus, have you tried contacting Mapbox directly? The services that we've used for things like weather data in Ubuntu Touch have been extremely generous since we're a community project. There's a link to contact Mapbox's community team here: https://www.mapbox.com/community/impact-2018/

                            1 Reply Last reply Reply Quote 0
                            • K Offline
                              kugiigi @Aurze
                              last edited by 29 Aug 2019, 05:27

                              @Aurze It seems like this is an issue in the edge channel. Probably related to the location service prompt. As you mentioned, rebooting usually solves the issue.

                              1 Reply Last reply Reply Quote 0
                              • A Offline
                                Aurze
                                last edited by 29 Aug 2019, 10:27

                                Minor issues, the name of the street in navigation mode only take one row. on my Nexus 5 I see "Boulvard bon..." which is missing most part of the acctual name making it hard to use sometime.

                                1 Reply Last reply Reply Quote 0
                                • R Offline
                                  rinigus
                                  last edited by 29 Aug 2019, 11:16

                                  Re Mapbox contact: I have contacted sales and have sometimes contacts with development team. Sales was the one that proposed current solution. Didn't get in touch with community team, maybe should.

                                  Re street name: That's by design. Otherwise it will be covering too much of the screen. There is going to be redesign of navigation screens and interactions, I am planning to do it relatively soon. Plan is to move speed and some other data around, adjust helper screens and such (few issues have been filed on topic and design discussed at TMO among Sailfish users few months ago).

                                  Whether I should scale street name to fit - that's hard to say. In few places it may lead to excessive amount of chars as well. But I do see your issue :). Let's pick it up when the navigation design will be adjusted.

                                  1 Reply Last reply Reply Quote 1
                                  • D Offline
                                    domubpkm
                                    last edited by 29 Aug 2019, 11:27

                                    @rinigus You are a good communicator.
                                    Thank you.

                                    1 Reply Last reply Reply Quote 0
                                    • B Offline
                                      BrisPete
                                      last edited by 29 Aug 2019, 20:39

                                      Love the approach. It works really well so far. Searching using UK postcodes appears temperamentall at best. It's easy enough to work around but would be good not to have to work around.

                                      R 1 Reply Last reply 30 Aug 2019, 11:14 Reply Quote 0
                                      • R Offline
                                        rinigus @BrisPete
                                        last edited by 30 Aug 2019, 11:14

                                        @BrisPete Pure Maps has been built in a modular way. In particular, its possible to choose search and routing engines as well as other providers. By default, search is provided by Photon. Maybe OpenCage will work better in UK (doesn't support autocomplete though, you would have to write a string and then press Enter). If there is some other geocoder that works better in UK, let me know and we can discuss how to implement it.

                                        If you have some good examples with incorrect search results using Photon, please file an issue at https://github.com/komoot/photon/issues

                                        When/if offline maps land at Ubuntu Touch, that geocoder was written by me. It should support postcodes in UK, but that you could test later.

                                        B 1 Reply Last reply 30 Aug 2019, 22:21 Reply Quote 3
                                        • B Offline
                                          BrisPete @rinigus
                                          last edited by BrisPete 30 Aug 2019, 22:21

                                          @rinigus Thank you. OpenCage appears, on first use, to work perfectly.

                                          BA11 2JY, BS7 8RW, PL2 1SQ all failed in Photon but worked with OpenCage.

                                          1 Reply Last reply Reply Quote 0
                                          • N Offline
                                            normandc @rinigus
                                            last edited by normandc 9 Jan 2019, 06:09 1 Sept 2019, 06:04

                                            @rinigus said in Pure maps navigation port:

                                            Re issues with key pasting: turned out that UT doesn't support copy&paste in regular QQC2 text fields. The issue was solved by switching over to the text field provided by Ubuntu Components. This will be fine in the next release, so you may wait for that as well with the key, I think.

                                            I was too impatient and couldn't wait for the next update, so I entered my Mapbox API key manually. 😁

                                            Since a free account allows 50,000 requests a month, could I reuse the same API key among devices? Could I share it with relatives? This latter question is hypothetical, currently no relative of mine has a device they could install Pure Maps on.

                                            I created an access token with default settings: all public scopes checked, and no secret scopes nor URL restrictions. Is that OK?

                                            Also, is there a way to make sure this key is used, other than see it in the preferences?

                                            @rinigus said in Pure maps navigation port:

                                            Why not on Flathub: Number of users is expected to be smaller at Flathub.

                                            Thanks for the clarification.

                                            BTW I noticed a bug with Navigation using a GPX file: the file open dialog (which looks like a default desktop file dialog) does not see the contents of the /home/phablet/ folder. Tapping on the Cancel button does nothing, and if I press the big Home icon at the top, a new window with huge text opens. The only way to close those two dialog windows is to swipe right from left to open the preview of currently opened apps and swipe them away. I will open an issue on Github tomorrow along with screenshots, if Github allows it.

                                            FYI we discussed it here: https://forums.ubports.com/topic/3056/gps-apps

                                            Edit: would it be useful for you to get a UbuntuTouch device to test your app on? I wonder if we (the community) could provide you one. I'd be willing to pitch in. Or maybe you'd rather not, and wish for somebody to assume packaging on UT?

                                            1 Reply Last reply Reply Quote -1
                                            39 out of 66
                                            • First post
                                              39/66
                                              Last post