View Single Post
Posts: 1,548 | Thanked: 7,510 times | Joined on Apr 2010 @ Czech Republic
#1292
Originally Posted by Whispering Weasel View Post
Nice, especially the traffic overlay can be useful

still playing around with the maps, the submarine cable map seems to be off: puts me somewhere of the coast of southern Norway, normal maps are fine
Yeah, their projection seems to slightly differ from the standard web-mercator currently supported in modRana (and used by OSM, Google & co). But as the the map is quite low-resolution, I see fixing this as lower priority.

BTW, I had similar (only much more serious) projection problems with the chartbundle layers. I even delved to the source of the OpenLayers Javascript library it uses, but without success.

Originally Posted by Whispering Weasel View Post
Screenshot: Stamen watercolor + google weather overlay (100%) zoomlevel 7
Nice combination ! Can I add this image to the modRana screenshot gallery ?

Originally Posted by roman2205 View Post
I hv installed modrana in my n9 via terminal version 39.8 whereas latest version is 39.11. pls tell me the way of update or atleast refer me to the post in this thread.
Originally Posted by Wikiwide View Post
Here you are: Harmattan deb package, 0.39.11. Found at modrana.org.
Best wishes.
_________________
Per aspera ad astra...
Thatnks both - roman2205 for reminding me to trigger the Harmattan build & Wikiwide for posting the download link.

Originally Posted by klinglerware View Post
Thank you, thank you, thank you for adding the Google Traffic layer! I've been waiting for this development with anticipation for a long time now. A question: is the traffic layer self-updating? If so, can a specific time interval be set to refresh the layer?

Thanks again Martin for continuing to support and improve this application, it is much appreciated.
Not yet, but I know about this issue. I plan to add a layer setting to the map configuration file, that would set for how long will the map tiles be considered valid before being redownloaded (and maybe even reload currently displayed tiles ?). Something like:
Code:
max_age=2 # in hours
And a setting in Options to turn this behavior on/off.

Also, any ideas how I should set it for the different layers (eq. how often are they updated ?)?

As a workaround until this is implemented, you can just delete the folder before starting modRana (and if storing to tiles, maybe even periodically delete it while modRana is running ).

Originally Posted by Estel View Post
:shocked: Jaw drop. Thanks! You will have fun time, keeping it working as services change, especially google ones. May the Force be with you
Well, yeah - I'll have to fix it once a broken layer is reported and/or once I notice it myself. Also, due to the modRana source being on Github, the nice automatic pull-request functionality can used - like the pull request Wikiwide recently sent me with the vearth layer.

Originally Posted by Estel View Post
Confirming - if it's fixable, it would be nice, but I'm not sure if submarine cable map is cartographically accurate. Maybe it should be considered as "consult only" one, like moon surface maps in Marble (which also shows your "current" position

Good question - it seems that per-layer update interval could be useful. Meanwhile, maybe per-mode settings could be abused to achieve the same?

/Estel
You might get a similar effect already with options->Map->Tile Storage->Store downloaded tiles
If you set it to NO, it will only store tiles in memory cache and won't store them to "disk". The cache is circular with newer data overwriting old. Works for all layers, even the background one you might want to store.
Originally Posted by Estel View Post
//Edit

It seems, that traffic overlay is strange. Even with "labelled" option, it shows label only for places, where traffic colors are present. Sometimes, it even cut parts of street name (because color ends there).
Yeah, it behaves in quite strange way. For example, if you change the style property, it randomly slightly changes. There were also other variables in the original URL, but I have dropped them as they didn't seem to influence the concrete tile I was using for testing. Might be that they do influence other tiles or are time dependent.

Originally Posted by Estel View Post
Feature request - could we have user-configurable, arbitrary number of layers? This way, in many cases, we would be able to create task-specified, fancy settings. For example, using above case - one could get google satellite as main, street names layers above, and traffic overlay on top.

But, it would be useful in many other cases, too (satellite + streets + signal, or satellite + street + temperature).

/Estel
As Wikside has already demonstrated, it is quite easy to do in the QML GUI. Though, with something like 10+ map layers, it might screw-up with QML image cache behavior a bit.

In the GTK GUI, IIRC it already composites the tiles just once and then draws the result from cache. So compositing more than two tiles might also work.

BTW, being able to save interesting layer combinations might be also handy, even though it can be currently supplemented by the per-mode setting.

Originally Posted by Wikiwide View Post
Quick reply...
Github gives me 404 error for this webpage, so a modified file is attached here. Though, I don't know how to connect this map-overlay to user options (rWin), so the background layer is hard-coded as "vaer", and opacity is hard-coded as 50-50.
Best wishes.
_________________
Per aspera ad astra...
Originally Posted by Wikiwide View Post
Quick reply...
This is a modified version of PinchMap.qml. Still not attached to the settings: the list of layers is set in "property variant layers". Theoretically, it should work with any number of layers.
Best wishes.
_________________
Per aspera ad astra...
Thanks, looks good ! Nice idea with the variant. I'll hack some settings for it so the layers can be configured and merge it back in.
__________________
modRana: a flexible GPS navigation system
Mieru: a flexible manga and comic book reader
Universal Components - a solution for native looking yet component set independent QML appliactions (QtQuick Controls 2 & Silica supported as backends)
 

The Following 10 Users Say Thank You to MartinK For This Useful Post: