View Single Post
Posts: 1,548 | Thanked: 7,510 times | Joined on Apr 2010 @ Czech Republic
#1487
Originally Posted by marmistrz View Post
Hi,

I'm playing with modrana-gtk and modrana-qml on N900. On gtk I'm able to get zoom > 1:6000, but on qml the maximal zoom is 1:6000. Should it be like that?
There is no zoomlevel limit in the GTK GUI, as simple as that. This makes modRana GTK very future proof and ready to support atomic-scale map layers once (if ever ? :P) they become available.

Regarding the QML GUI, its is quite possible it is some hardcoded zoomlevel limit, maybe even from AGTL, which is the original source for the PinchMap element used by the modRana QML GUI.

This could be definitely improved upon, as since some time the modRana map definition file lists maximal zoomlevel for layers, so that could be used to set the lowest zoom, based on currently displayed layer. I guess also some sort of override might should be available, so that you can zoom in to arbitrary zoomlevel - for example to work with closely situated POIs that are overlaid on low zoomlevels (well, once they are implemented in QML GUI).

So I'll probably leave it without limit on GTK and use the max-zoom-per-layer with override in QML.

Originally Posted by marmistrz View Post
/edit: and after downloading the monav data pack, the tiles which haven't been visited aren't loaded. Why?

Thanks
The Monav data packs (BTW, I should really finally fix their updating) are currently used only for offline point-to-point routing.

Actually It does not even support offline address-to-address routing - the Monav preprocessor can create an address database, but there is no external interface to it. The database format is described here:
http://code.google.com/p/monav/wiki/...TournamentTrie

Any takers for Python parsing module (ctypes ?) so that modRana can use it for offline address lookup ?

Monav does support some sort of vector map rendering, but that is unfortunately internal functionality without any external interface (like for example telling Monav to render tile images), that modRana can use.

The current plan for vector map rendering is to use the Kothic Python+Cairo MapCSS using map renderer, but suggestions for alternative (preferably portable) renderers are also welcome.
__________________
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)

Last edited by MartinK; 2013-11-13 at 00:18.
 

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