Merge branch 'master' of https://github.com/osmandapp/Osmand
This commit is contained in:
commit
b59acdd606
1 changed files with 3 additions and 1 deletions
|
@ -109,7 +109,9 @@ public class MapViewTrackingUtilities implements OsmAndLocationListener, IMapLoc
|
||||||
@Override
|
@Override
|
||||||
public void updateLocation(Location location) {
|
public void updateLocation(Location location) {
|
||||||
showViewAngle = false;
|
showViewAngle = false;
|
||||||
locationProvider = location.getProvider();
|
if (location != null) {
|
||||||
|
locationProvider = location.getProvider();
|
||||||
|
}
|
||||||
if (mapView != null) {
|
if (mapView != null) {
|
||||||
RotatedTileBox tb = mapView.getCurrentRotatedTileBox();
|
RotatedTileBox tb = mapView.getCurrentRotatedTileBox();
|
||||||
if (isMapLinkedToLocation() && location != null) {
|
if (isMapLinkedToLocation() && location != null) {
|
||||||
|
|
Loading…
Reference in a new issue