Make camera follow the user

This commit is contained in:
neslihanturan 2018-02-22 21:35:57 +03:00
parent 066df7b695
commit 1320952373
2 changed files with 75 additions and 14 deletions

View file

@ -23,6 +23,7 @@ import timber.log.Timber;
public class LocationServiceManager implements LocationListener {
public static final int LOCATION_REQUEST = 1;
// Maybe these values can be improved for efficiency
private static final long MIN_LOCATION_UPDATE_REQUEST_TIME_IN_MILLIS = 2 * 60 * 100;
private static final long MIN_LOCATION_UPDATE_REQUEST_DISTANCE_IN_METERS = 10;