The Following 5 Users Say Thank You to Wikiwide For This Useful Post: | ||
![]() |
2013-03-24
, 14:04
|
Posts: 1,548 |
Thanked: 7,510 times |
Joined on Apr 2010
@ Czech Republic
|
#1312
|
Quick question...
Has anybody recently started modrana-qml on N900 from X-Terminal? Because it seems to give a lot of errors about failing to load an icon - because rWin.mTheme is equal to "" instead of "default", and the path becomes "image://icons//name.png". I would say that rWin is somehow not loaded in time. But I cannot be sure.
I have also been trying to get the "menu" icon to show the mode - train, bicycle, bus, whatever - similarly to GTK UI, and rWin.mode seems to be undefined...
Best wishes.
The Following 3 Users Say Thank You to MartinK For This Useful Post: | ||
![]() |
2013-03-24
, 17:28
|
Posts: 1,548 |
Thanked: 7,510 times |
Joined on Apr 2010
@ Czech Republic
|
#1313
|
modrana.mode
modrana.mode = "car"
![]() |
2013-03-24
, 22:17
|
Posts: 1,548 |
Thanked: 7,510 times |
Joined on Apr 2010
@ Czech Republic
|
#1314
|
* Sun Mar 24 2013 Martin Kolman - 0.40.1 - map overlay support in QML GUI - based on a patch by Wikiwide - thanks ! :) - multiple overlays can be used at the same time - per-layer opacity setting - nice overlay configuration UI - there is no hard limit on number of overlays at once - too many layers at once might slow down the application though :) - overlay configuration is not yet persistent - pretty print map layer loading status - also make sure they don't overlap when overlays are used - long back-button press now returns to map screen - some new map layers were added to the QML map layer selector - eventually it should use the same layer list as the GTK GUI - fix some warnings at startup - theme and mode are now exposed by the "modrana" QML context property
The Following 10 Users Say Thank You to MartinK For This Useful Post: | ||
![]() |
2013-03-25
, 12:01
|
Posts: 1,680 |
Thanked: 3,685 times |
Joined on Jan 2011
|
#1315
|
<downloadUrl protocol="http" host="ecn.t1.tiles.virtualearth.net" path="/tiles/r{quadIndex}.png" query="g=41&productSet=mmOS" />
![]() |
2013-03-26
, 10:54
|
Posts: 188 |
Thanked: 308 times |
Joined on Jan 2013
@ UK
|
#1316
|
I am trying to add my own map source to modrana. Microsoft/bing (boo!) maps offer UKOS maps. These are some of the nicest maps available for the UK. I was able to add them to marble with this server string:
In the above example, the 'query="g=41&productSet=mmOS"' is where the magic happens. This is appended to the end of the URL and makes the server return UKOS map tiles instead of virtual earth tiles.Code:<downloadUrl protocol="http" host="ecn.t1.tiles.virtualearth.net" path="/tiles/r{quadIndex}.png" query="g=41&productSet=mmOS" />
I do not see how to add this parameter to the modrana map config file URL.
Any help?
![]() |
2013-03-26
, 12:28
|
Posts: 1,680 |
Thanked: 3,685 times |
Joined on Jan 2011
|
#1317
|
That would be very nice, but even more so offline as when I use OS it tends to be in poor signal areas. The thing is, Bing license the maps from the OS and probably pay a hefty fee, as well as having to restrict their use. I did try and see if it was possible to download the tiles offline, but I messed up the url and got ve tiles. I might try again at some point, but am not optimistic.
As for online, can't help there, unfortunately, but watching Bing maps when using them, they do have multiple servers that they seem to round-robin access - ecn.t0...ecn.t1....ecn.t2...ecn.t3....ecn.t4...
ecn.t1.tiles.virtualearth.net/tiles/r/<quadindex>.png&g=41&productSet=mmOS
![]() |
2013-03-26
, 15:24
|
Posts: 1,548 |
Thanked: 7,510 times |
Joined on Apr 2010
@ Czech Republic
|
#1318
|
Yes it is entirely possible to get the OS map tiles.
I convinced Dwarzdyn to include quad-tree map sources in cloudgps so I could use OS maps. Unfortunatley, Dwardz has moved onto other things so cloudgps has become abandonware, which is a real shame because it was *nice*.
I then started using marble maps and wrote the UKOS map profile for it, it worked quite well but now marble maps has ceased development on the n900. *sigh*.
So AFAIK the last, currently developed map program for the n900 is Modrana.
If all the other map programs can grab the map tiles, so can Modrana.
There are 4 servers numbered t1 to t4. You can just use one if you wish but I guess download speed will suffer. I never noticed a problem on cloudgps. If you do not supply the magic string at the end you just get bing satellite images. So the question is, how do I specify a parameter to be added to the end of the URL?
Code:ecn.t1.tiles.virtualearth.net/tiles/r/<quadindex>.png&g=41&productSet=mmOS
url="http://tiles.virtualearth.net/tiles/r${quadindex}?g=41&productSet=mmOS"
url="http://vec01.maps.yandex.net/tiles?l=map&x=${x}&y=${y}&z=${z}"
As for online, can't help there, unfortunately, but watching Bing maps when using them, they do have multiple servers that they seem to round-robin access - ecn.t0...ecn.t1....ecn.t2...ecn.t3....ecn.t4...
![]() |
Tags |
bada rox, martin_rocks, modrana, navigation, openstreetmap, the best, wehasgps |
Thread Tools | |
|
Has anybody recently started modrana-qml on N900 from X-Terminal? Because it seems to give a lot of errors about failing to load an icon - because rWin.mTheme is equal to "" instead of "default", and the path becomes "image://icons//name.png". I would say that rWin is somehow not loaded in time. But I cannot be sure. I have also been trying to get the "menu" icon to show the mode - train, bicycle, bus, whatever - similarly to GTK UI, and rWin.mode seems to be undefined...
Best wishes.