aerostitch / testnavit

0 stars 0 forks source link

follow="1" refresh="1" should be a togglable item in the GUI #9

Open aerostitch opened 15 years ago

aerostitch commented 15 years ago

Issue migrated from trac ticket # 242

component: core | priority: minor | keywords: usability, map

2008-09-03 05:02:10: kiddo created the issue


Users can set their GPS source, in navit.xml, to be always centered on the map and orient the map automatically on position change. This is done like this, currently:

#!xml
<vehicle name="GPS" enabled="yes" active="1" follow="1" refresh="1" source="gpsd://localhost" gpsd_query="w+xj" color="#0000ff" color2="#ffffff" />

Now, this is fine for gurus and all that, but it would be much better to just provide a menu (and maybe toolbar) item, "[X] Recenter the map automatically". Why? Two reasons:[[BR]]

  • the xml configuration feature is not so easy to discover, and we want to make navit easy/fun to use for everyone[[BR]]
  • people like me sometimes want to toggle this behavior on/off without restarting navit. While on a car's backseat, I may want to toggle off all repositioning to look at some place else on the map. It would be great if I was able to do so without the map being repositioned every second, and then toggle the option on to get the autocentering active again.
aerostitch commented 15 years ago

2008-09-05 01:32:19: @pgrandin changed status from new to assigned

aerostitch commented 15 years ago

2008-09-05 01:32:19: @pgrandin

aerostitch commented 15 years ago

2008-12-01 00:54:16: mail@tinloaf.de commented


Currently, if you drag the map around, navit will not re-center for a certain amount of seconds (configurable in navit.xml). I don't think an UI option would be good at the moment, since navit does not yet have a "preferences" dialogue. If (or when..) such a thing will be implemented, there will surely be such an option. Shall we close this for now?

aerostitch commented 15 years ago

2009-02-23 10:28:57: mail@tinloaf.de changed status from assigned to closed

aerostitch commented 15 years ago

2009-02-23 10:28:57: mail@tinloaf.de set resolution to fixed

aerostitch commented 15 years ago

2009-02-23 10:28:57: mail@tinloaf.de commented


Since there was no answer, and users are able to look at some place on the map without navit recentering immediately, and a "toggle recentering" will be added when we have a preferences dialogue (I think..), I'm closing this for now.

aerostitch commented 15 years ago

2009-03-22 14:53:07: nekohayo@gmail.com changed status from closed to reopened

aerostitch commented 15 years ago

2009-03-22 14:53:07: nekohayo@gmail.com changed resolution from fixed to **

aerostitch commented 15 years ago

2009-03-22 14:53:07: nekohayo@gmail.com commented


The reason I did not reply is that Trac still doesn't send me any notification emails :(

You said users can look at another place without the map recentering immediately: well it does recenter after 1 second... you don't have any time to see anything within 1 second. Or did that change?

Furthermore, you don't need a preferences dialog for that, just a checkbox in the menus.

aerostitch commented 15 years ago

2009-03-22 15:25:36: mail@tinloaf.de commented


It did change some time ago - now, by default, the map will stay 10 seconds centered to wherever you dragged it to. If you think 10 seconds are not enough, you can reconfigure that with timeout="whatever" in your -tag.

aerostitch commented 14 years ago

2009-07-08 05:11:45: christian.rueb@gmail.com commented


I tried but it does not seem to work for me (svn 2309). The commit you refer to is 1734 I assume.

When I drag the map it is automatically recentered after about 5 secs.

Do follow and update in vehicle section affect the drag timeout?

I have the following navit and vehicle sections:

...
<navit center="4808 N 1134 E" zoom="256" tracking="1" cursor="1" orientation="-1" recent_dest="10" drag_bitmap="yes">
...
<vehicle follow="5" update="1" name="Local GPS" profilename="car" enabled="yes" active="1" source="gpsd://localhost" gpsd_query="w+xj" color="#0000ff">
...

So how can I get the timeout of 10secs when dragging? Also I could not find timeout in navit.dtd.

follow, update and timeout are still not really clear for me:

  • what is the use of update if follow is used?
  • is the dragging timeout ignored if follow is used?

Yes, I have looked into #153 #394 #301

aerostitch commented 14 years ago

2009-07-24 06:09:59: sybren@stuvel.eu commented


I used this in navit and vehicle sections:

  <navit center="52.3954 N 4.9143 E"
      tracking="0" cursor="1" orientation="1"
      zoom="128"
      recent_dest="10"
      timeout='15'>

  <vehicle name="Car" profilename="car" enabled="yes" active="0"
          source="gpsd://localhost" gpsd_query="w+xj"
          update="yes"
          color="#0000ff">

but still when I move the map such that the current position is off screen, it jumps back after a second.

aerostitch commented 13 years ago

2011-01-22 14:08:38: zoff99 commented


thats all not really working! i can say for android version: 10 secs. delay after moving the map is bad, when you are in route mode. and 10 secs. delay to browse around is bad too, because its too little.

so i agree with kiddo. there should be zero delay!! when follow mode is on. and a clear visible toggle OSD to turn on/off togle mode and to browse the map.

if nobody will do this, i will do it (but only for android version)

aerostitch commented 10 years ago

2013-07-03 11:16:21: usul changed priority from major to minor

aerostitch commented 10 years ago

2013-07-03 11:16:21: usul edited the issue description

aerostitch commented 10 years ago

2013-07-03 11:16:21: usul

aerostitch commented 10 years ago

2013-07-03 11:16:21: usul commented


There is now a "Follow vehicle" option in the preferences/rules dialog. Is that what the issue was started for?