spelling error

This commit is contained in:
sonora 2012-03-13 20:14:11 +01:00
parent 72a4ae7158
commit df3786a670

View file

@ -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);