maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [SFOS] [Announce] Native offline maps: OSM Scout Server (https://talk.maemo.org/showthread.php?t=97823)

rinigus 2017-12-11 14:10

Re: [Announce] Native offline maps: OSM Scout Server
 
Quote:

Originally Posted by seiichiro0185 (Post 1539287)
I can report that the new version 1.2.0 with poor maps GL works beautifully on my Xperia X / Sailfish X. Rendering speed of the maps is blazingly fast and looks quite nice.

So again thanks for the great work on this essential piece of native SFOS software.

Thank you very much for reporting! Is it against OSM Scout Server or online maps by Mapbox?

PS: Ahh, now I can see that its against the server :) .

PamNor 2017-12-11 18:12

Re: [Announce] Native offline maps: OSM Scout Server
 
Poor Maps GL with OSM scout server and vector tiles only work when online. Wifi or mobile data. Is this the intention behaviour. Great work! Is it possible to have 2 fingers panning in Poor Maps for vector tiles?

rinigus 2017-12-11 18:39

Re: [Announce] Native offline maps: OSM Scout Server
 
Quote:

Originally Posted by PamNor (Post 1539297)
Poor Maps GL with OSM scout server and vector tiles only work when online. Wifi or mobile data. Is this the intention behaviour. Great work! Is it possible to have 2 fingers panning in Poor Maps for vector tiles?

Same reported at OpenRepos few minutes ago - https://openrepos.net/comment/22975#comment-22975 . Not intended by me, I will look into it ASAP.

As for 2 fingers panning - not sure what you mean.

PamNor 2017-12-11 18:49

Re: [Announce] Native offline maps: OSM Scout Server
 
Quote:

Originally Posted by rinigus (Post 1539298)
Same reported at OpenRepos few minutes ago - https://openrepos.net/comment/22975#comment-22975 . Not intended by me, I will look into it ASAP.

As for 2 fingers panning - not sure what you mean.

Sorry. English is not my native language. I meant. 2 fingers gesture to change pitch in vector tiles. I tried demo mapbox-sfos and was very impressed.

rinigus 2017-12-11 18:55

Re: [Announce] Native offline maps: OSM Scout Server
 
Quote:

Originally Posted by PamNor (Post 1539299)
Sorry. English is not my native language. I meant. 2 fingers gesture to change pitch in vector tiles. I tried demo mapbox-sfos and was very impressed.

In demo I had a pitch slider. I am sure we'll get that too, we could link the angle to the speed, for example. There are lots of things possible, its early days and I would expect lots of polish later. Don't forget, we'll get map client developers on board in addition (Poor Maps proper and modRana and maybe more will join). Right now I have to get the basics right, to fix strange bugs as we have with the network access.

MartinK 2017-12-12 00:36

Re: [Announce] Native offline maps: OSM Scout Server
 
Quote:

Originally Posted by rinigus (Post 1539300)
Don't forget, we'll get map client developers on board in addition (Poor Maps proper and modRana and maybe more will join).

Mapbox GL integration is currently my top priority in modRana, together with better voice output.

It will likely not be easy to support everything modRana does (routing/navigation/POI/on map markers, logging trace, overlays) right away, but I would like to have Mapbox GL support available in some form soon, so that users can provide feedback. :)

rinigus 2017-12-12 07:41

Re: [Announce] Native offline maps: OSM Scout Server
 
Network access issue seems to be Qt bug. Full description via "official" channel, see https://together.jolla.com/question/175944

Please vote for it to get attention and higher probability to get the fix

rinigus 2017-12-12 09:12

Re: [Announce] Native offline maps: OSM Scout Server
 
There maybe a workaround by switching Mapbox GL over to curl. I will try tonight and see whether it can be easily done (there is a hope that it is).

Still, in long term, we will need a proper fix and not having locally-patched-somewhat-different-QMapboxGL. So, the votes are needed for Jolla to take the notice :)

jdrescher 2017-12-12 13:35

Re: [Announce] Native offline maps: OSM Scout Server
 
Quote:

Originally Posted by MartinK (Post 1528801)
For that reason it might make sense to also take a look at the QML map component used by Foursail:
https://github.com/Maledictus/foursa...l/PinchMap.qml

It should be quite similar to the modRana PinchMap (both modRana and Frousail projects started with the old PoinchMap.qml from AGTL), a bit less advanced and possibly quite a bit more standalone. :)

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?

MartinK 2017-12-12 14:47

Re: [Announce] Native offline maps: OSM Scout Server
 
Quote:

Originally Posted by jdrescher (Post 1539317)
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?

I'm using a Canvas element on top of the map to draw routes, tracklogs & the track recording trace:

- recording trace paint method
- tracklog paint method
- route paint method

The canvas is moved around when the map is panned and redrawn when needed (zoom in/out, the polyline changed, clear the polyline, etc.).


All times are GMT. The time now is 13:39.

vBulletin® Version 3.8.8