Locus Map - forum

Support => Wishlist => Implemented => Topic started by: daubor on March 10, 2011, 11:32:42

Title: speed dependent zoom
Post by: daubor on March 10, 2011, 11:32:42
In car, i often need to adjust the zoom - especially in "guide" mode.
A speed dependent zoom would be very helpful to keep the overview. If using offline maps, the "best" layer should be used, if one is available.

For example.
0 - 30km/h -> Zoomlevel 25
30 - 60km/h -> Zoomlevel 24
...
Adjustable speed- and zoomlevels would be good!
An adjustable hysteresis to avoid zoom toggling would be nice too!
Title: Re: speed dependent zoom
Post by: berkley on March 10, 2011, 20:12:02
nice idea.. +one
Title: Re: speed dependent zoom
Post by: marlar on March 10, 2011, 20:57:01
me too!
Title: Re: speed dependent zoom
Post by: mynamemyname on March 11, 2011, 13:27:19
+1
very useful while driving
Title: Re: speed dependent zoom
Post by: daubor on March 20, 2011, 21:38:06
UP!

I just came back from a 4 hour car-trip! Locus did everthing very good! . But i had to adjust the zoom a hundred times...grrrrr
Title: Re: speed dependent zoom
Post by: Menion on March 21, 2011, 12:18:23
ok guys, looks that this is most requested feature on forum :) so how should we do this? It will need some settings in settings screen. Probably under "Map" add some few settings ...

so for example

- one checkbox if this feature is active or not
- one edit text for speed 0 - 30kph, where you set zoom value that should be used (if available, if not, use nearest)
- one for speed 30 - 60kph
- one for speed 60 - 90kph
- one for speed 90 - 120kph
- one for speed > 120kph

so? suggestions? :)
Title: Re: speed dependent zoom
Post by: daubor on March 21, 2011, 17:57:43
Mandatory:
- Checkbox for activating/deactivating feature
- Editfield for Treshhold (prevents zoomtoggling..default 10kph ?!  :?: )

- Editfield Zoomlevel1
- Editfield Zoomlevel2
- Editfield Zoomlevel3
- Editfield Zoomlevel4
- Editfield Zoomlevel5

Optional/Nice too have:
Multislider with 4 Sliders to adjust speedlimit-value's
<---(1)---(2)---(3)---(4)--->

That means:
Speedlevel1 0 - (1)kph
Speedlevel2 (1) - (2)kph
Speedlevel3 (2) - (3)kph
Speedlevel4 (3) - (4)kph
Speedlevel5 (4) - 120kph

-----------------------------------------------------------

Behaviour with OnlineMaps:
- show zoom level according to current speed level
- if zoom is locked -> do nothing

Behaviour with offline maps:
This is a bit tricky:

Rules:
1. if only one layer is available in OfflineMaps -> do nothing
2. if adjusted zoomlevel is not available, but adjusted zoomlevel +/-1 is available -> use zooming like with locked zoom (i hope this is understandable)
3. if user manually changes zoomlevel, go back to speed dependent zoom after X seconds
4. if zoom is locked -> do nothing

Examples:
adjusted Levels:
0 - 30      Zoomlevel 25
30 - 60      Zoomlevel 24
60 -90      Zoomlevel 23
90 - 120           Zoomlevel 22
120 - *      Zoomlevel 21

Example Case1:
Available OfflineMapLayers: 26, 23, 21, 17
Current Speed: 0 - 30

- zoomlevel 25 is adjusted but not available
-> zoomlevel 26 is available and can be zoomed out to 25

Current Speed: 30 - 60
- zoomlevel 24 is adjusted but not available
-> zoomlevel 23 is available and can be zoomed to 24

Current Speed: 60 - 90
- zoomlevel 23 is available

Current Speed: 90 - 120
- zoomlevel 22 is adjusted but not available
-> decide what is better: zoom in layer 21 or zoom out layer 23

Example Case2:
Available OfflineMapLayers: 26, 25, 24
Current Speed: 60 - 90

- zoomlevel 23 is adjusted but not available
-> zoomlevel 24 is available and can be zoomed out to 23

Current Speed: 90 - 120
- zoomlevel 22 is adjusted but not available
- no layer available which equals 22 +/- 1, do nothing

and so on...
Title: Re: speed dependent zoom
Post by: daubor on May 23, 2011, 15:10:51
Up!  ;)
Title: Re: speed dependent zoom
Post by: jctmarques on August 01, 2011, 23:18:39
As stated in another duplicate thread, besides the dynamic zoom according to speed, my wish is that the dynamic zoom would be the best to fit actual position and destination position, if there is any, disregarding the speed. That wooulb be awesome when walking or cycling because the path to follow would be visible in the best way everytime.
Title: Re: speed dependent zoom
Post by: David on August 01, 2011, 23:31:52
Quote from: "jctmarques"As stated in another duplicate thread, besides the dynamic zoom according to speed, my wish is that the dynamic zoom would be the best to fit actual position and destination position, if there is any, disregarding the speed. That wooulb be awesome when walking or cycling because the path to follow would be visible in the best way everytime.

However, if destination is too far then the resulting zoom would be too small and little details could be seen on the map. How about a button on the right panel to quickly switch between autozoom levels:
- no autozoom
- autozoom fitting actual position and destination position in the screen
- autozoom based on current speed
Title: Re: speed dependent zoom
Post by: Menion on August 03, 2011, 15:49:20
so try new testing version viewtopic.php?f=25&t=782 (http://forum.asamm.cz/viewtopic.php?f=25&t=782), it's there

but count that I test it only on vector and online maps, where is no problem with missing zooms. I have to do some testing on personal maps also, but I'll leave this on you :)
Title: Re: speed dependent zoom
Post by: jctmarques on August 04, 2011, 15:23:28
I've downloaded test version but couldn't activate this feature. How does it work?
Title: Re: speed dependent zoom
Post by: Menion on August 04, 2011, 15:33:04
hmm there is one checkbox in settings, in settings->maps
Title: Re: speed dependent zoom
Post by: jctmarques on August 04, 2011, 15:47:11
I was looking in Quick Settings.. maybe it makes sense there, no?
Title: Re: speed dependent zoom
Post by: jctmarques on August 04, 2011, 16:03:54
Do you have plans on implementing the auto-zoom according to Actual Position -> Destination (When guiding is on?)
Title: Re: speed dependent zoom
Post by: Menion on August 04, 2011, 16:11:06
I'll add it to 'quick switch' also. about auto-zoom during guiding .. don't know yet ... we'll see
Title: Re: speed dependent zoom
Post by: r2d2 on August 05, 2011, 18:51:45
I would'nt fix the speedsteps on speed values.

I prefere a percentage zoom. On a bicycle you will allways be under 30 mph.

Just let us set a max speed or vehicle to get the hole range.

Max speed = e.g. 40 kph

Speedlevel1 0 - (20% of max speed)kph
Speedlevel2 (1) - (40% of max speed)kph
Speedlevel3 (2) - (60% of max speed)kph
Speedlevel4 (3) - (80% of max speed)kph
Speedlevel5 (4) - (100% of max speed)kph

Cheers,

r2d2
Title: Re: speed dependent zoom
Post by: Menion on August 05, 2011, 18:57:09
I'm not sure if this is good idea. On bicycle, just imagine 5 zoom steps! It will still zoom in/out ... there is no need for this I think. Anyway, public release will be in sunday probably (I'm still fighting a little with improved guiding) so we'll see after some testing ...
Title: Re: speed dependent zoom
Post by: salmosalar on August 08, 2011, 08:49:15
Hello,

I test it yesterday, and it works great. But for germany, the last zoomlevel 120+ is sometimes not enough. With 200 or more the card moves to fast.

cheers

Thilo
Title: Re: speed dependent zoom
Post by: Menion on August 08, 2011, 09:48:11
20 isn't enough? ok :) I'll increase range probably also for some pilots etc ...