speed dependent zoom

Started by daubor, March 10, 2011, 11:32:42

0 Members and 3 Guests are viewing this topic.

daubor

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!
  •  

berkley

#1
nice idea.. +one
Search before posting!!!
XDA Orbit, HTC Touch HD, SGS1, SGS2, Nexus S, S4 Active, OnePlus One, Innos D6000
OnePlus X
  •  

marlar

#2
me too!
  •  

mynamemyname

#3
+1
very useful while driving
  •  

daubor

#4
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
  •  

Menion

#5
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? :)
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 Release download
  •  

daubor

#6
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...
  •  

daubor

#7
Up!  ;)
  •  

jctmarques

#8
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.
  •  

David

#9
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
  •  

Menion

#10
so try new testing version 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 :)
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 Release download
  •  

jctmarques

#11
I've downloaded test version but couldn't activate this feature. How does it work?
  •  

Menion

#12
hmm there is one checkbox in settings, in settings->maps
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 Release download
  •  

jctmarques

#13
I was looking in Quick Settings.. maybe it makes sense there, no?
  •  

jctmarques

#14
Do you have plans on implementing the auto-zoom according to Actual Position -> Destination (When guiding is on?)
  •