spelling error
This commit is contained in:
parent
72a4ae7158
commit
df3786a670
1 changed files with 1 additions and 1 deletions
|
@ -712,7 +712,7 @@ public class MapActivity extends TrackedActivity implements IMapLocationListener
|
||||||
int z = defineZoomFromSpeed(location.getSpeed(), mapView.getZoom());
|
int z = defineZoomFromSpeed(location.getSpeed(), mapView.getZoom());
|
||||||
if(mapView.getZoom() != z && !mapView.mapIsAnimating()){
|
if(mapView.getZoom() != z && !mapView.mapIsAnimating()){
|
||||||
long now = System.currentTimeMillis();
|
long now = System.currentTimeMillis();
|
||||||
// prevent ui hysterisis (check time interval for autozoom)
|
// prevent ui hysteresis (check time interval for autozoom)
|
||||||
if((lastTimeAutoZooming - now) > 6500){
|
if((lastTimeAutoZooming - now) > 6500){
|
||||||
lastTimeAutoZooming = now;
|
lastTimeAutoZooming = now;
|
||||||
mapView.setZoom(z);
|
mapView.setZoom(z);
|
||||||
|
|
Loading…
Reference in a new issue