View Single Post
Posts: 1,548 | Thanked: 7,510 times | Joined on Apr 2010 @ Czech Republic
#256
Originally Posted by woody14619 View Post
I think the idea was more to make a "jump to zoomlevel" setting.
...
Maybe a screen widget can do this? Can the widgets do things like "jump to zoom level 16"? If so, I could make one for 9, and one for 16, and just jump between them.
Really looks like a job for a widget. I really need to finally revamp the widget feature to a usable state

Originally Posted by woody14619 View Post
Another issue: The reason I need to zoom back is because there's no way I've found to jump to the destination on a route. When using address lookup, I like to verify that the target looks sane, since I've seen Google return bad results at times when it doesn't quite know where something is. (eg. Putting you in the middle of a town when it can't find a street.) Being able to jump to a turn or the destination would be a nice feature.
Good point, this should be added.

Originally Posted by woody14619 View Post
That would be great. Also, saving routes is currently broken. When you go to save, it says "loaded in XXms", but doesn't give you the option to give it a name, and thus save it as a route. It does auto-save it with a time-stamp name, but with no way to rename it, it's not so useful.
OK, I'll try to do something about it


Originally Posted by woody14619 View Post
Mappero stops drawing when the screen is off (may be worth a look to see how they do it). He also has a bit of code to keep the display on if the device is in motion. Handy if you're doing a short trip and don't have the device plugged in to a charger.
Interesting, I'll look how Mappero does it. Also, some control over screen dimming in modRana is really long overdue.

Originally Posted by Flandry View Post
Actually i was looking at the code on my flight home and it seems it uses powers of 2 to specify the range around the origin to download. Based on that it seems that only 2.5 km is available, but it's likely i missed something. Could you please explain what that power of 2 number is and how one could specify an arbitrary distance? It was trivial to add the button to request 2.5 km but i haven't had a chance to test if it actually works. It does make me wonder if the range is in km--it almost seems like it might be instead some multiple of the current map scaling. That would make my experience with downloading tiles make more sense.
The map tiles use two integers as X and Y coordinates. By incrementing and decrementing the coordinates it is possible to easily move to the neighboring tiles. The function that gets coordinates of tiles for a given area uses this.
It finds which tile is near the center of the area and then spirals around the central tile, until the distance from center (measured in tiles) reaches a given number. This number is that power of 2 value you mention.
It looks like this for size==1:
Code:
  ###   
  #0#
  ###
0 - central tile
# - tiles added by spiraling
This is not ideal and some sort of absolute distance - tile distance is needed to support wider range of steps + imperial units.

Originally Posted by Flandry View Post
Should be, but i can get the same results with MAME (others have verified that), so the watchdog isn't doing its job or something. There are two different problems--one is that the ui gets frozen in whatever state it is in. The other is that the device crashes and shuts down, so maybe the watchdog catches it sometimes.
Maybe both modRana and MAME use the same OS component/library/GUI toolkit that triggers this ?

ModRana uses:
  • Python 2.5
  • GTK + cairo + pango
  • python-liblocation
  • sqlite (only recently)
__________________
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 5 Users Say Thank You to MartinK For This Useful Post: