mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 21:03:54 +01:00
Add update mapBoxMap method definition to NearbyMapFragment
This commit is contained in:
parent
244ad5d10f
commit
93eba0e0d5
2 changed files with 5 additions and 1 deletions
|
|
@ -335,7 +335,7 @@ public class NearbyActivity extends NavigationBaseActivity implements LocationUp
|
||||||
.subscribe(this::populatePlaces);
|
.subscribe(this::populatePlaces);
|
||||||
} else if (locationChangeType
|
} else if (locationChangeType
|
||||||
.equals(LocationServiceManager.LocationChangeType.LOCATION_SLIGHTLY_CHANGED)) {
|
.equals(LocationServiceManager.LocationChangeType.LOCATION_SLIGHTLY_CHANGED)) {
|
||||||
//TODO: update current location marker and camera
|
updateMapFragment();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -146,6 +146,10 @@ public class NearbyMapFragment extends android.support.v4.app.Fragment {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void updateMapWithLocationChanges() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
private void initViews() {
|
private void initViews() {
|
||||||
bottomSheetList = getActivity().findViewById(R.id.bottom_sheet);
|
bottomSheetList = getActivity().findViewById(R.id.bottom_sheet);
|
||||||
bottomSheetListBehavior = BottomSheetBehavior.from(bottomSheetList);
|
bottomSheetListBehavior = BottomSheetBehavior.from(bottomSheetList);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue