Notices


Reply
Thread Tools
Posts: 337 | Thanked: 1,498 times | Joined on Aug 2016 @ Estonia
#391
Originally Posted by jdrescher View Post
That was a really good tip from you. I recently had a little bit of spare time and looked into PinchMap used by FourSail. With some slight modifications it is now doing most of the things I want.

However there is one thing I don't even know how to start with. It's track lines. The only idea I have right now, is to draw a qml image with a small dot on every track coordinate. But that's thousand of images, I don't know if that makes sense. May I ask how you did that in modRana?
@jdrescher, unless you want to run it on J1, why not to switch to Mapbox GL? It has all you need and even more: pan/zoom, you can easily insert the routes or POIs into the map as geo-objects and the widget will draw it for you.
 

The Following User Says Thank You to rinigus For This Useful Post:
Posts: 337 | Thanked: 1,498 times | Joined on Aug 2016 @ Estonia
#392
libcurl to the rescue! I have just published an updated version of the plugin that allows (at least on my device) to use Mapbox GL against OSM Scout Server in fully offline mode (all network interfaces are disabled).

Get new plugin here: https://openrepos.net/content/rinigu...indings-qt-qml

or by running update against my OpenRepos repo.

We've got lucky, since Mapbox GL uses libcurl for other platforms. So, I just had to make small changes in build file to use the code that loads data using libcurl. Seems to work as intended.

Downside is that I have a version of QMapboxGL which is somewhat different from the upstream. At least until the issue in Qt will not be resolved properly.
 

The Following 3 Users Say Thank You to rinigus For This Useful Post:
Posts: 1,403 | Thanked: 6,431 times | Joined on Apr 2010 @ Czech Republic
#393
Originally Posted by rinigus View Post
Downside is that I have a version of QMapboxGL which is somewhat different from the upstream. At least until the issue in Qt will not be resolved properly.
Is the Qt 5 source code & packaging Jolla uses available somewhere in the open (eq. on git.merproject.org, etc.) ?

That could possibly enable tracking the issue down independently on Jolla & sending a patch, which could make thing happen quicker, as they would just have to review, merge and QA the the fix, but not also develop it.
__________________
modRana: a flexible GPS navigation system
Mieru: a flexible manga and comic book reader

Thanks to everyone who voted for modRana & Mieru in the Maemo.org coding competition !
 

The Following User Says Thank You to MartinK For This Useful Post:
Posts: 36 | Thanked: 71 times | Joined on Sep 2013 @ Norway
#394
I have tried the new Mapbox GL update. super fast map update. Fully functional offline. You are genius .
 

The Following 2 Users Say Thank You to PamNor For This Useful Post:
Posts: 337 | Thanked: 1,498 times | Joined on Aug 2016 @ Estonia
#395
Originally Posted by MartinK View Post
Is the Qt 5 source code & packaging Jolla uses available somewhere in the open (eq. on git.merproject.org, etc.) ?

That could possibly enable tracking the issue down independently on Jolla & sending a patch, which could make thing happen quicker, as they would just have to review, merge and QA the the fix, but not also develop it.
I expect so, but I don't know where.
 
Reply

Tags
offline maps, sailfish os

Thread Tools

 
Forum Jump


All times are GMT. The time now is 07:35.