mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 12:23:58 +01:00
parent
6cbce9d283
commit
0bbfd54465
1 changed files with 2 additions and 1 deletions
|
|
@ -511,10 +511,11 @@ public class NearbyMapFragment extends DaggerFragment {
|
|||
*/
|
||||
private void setupMapView(Bundle savedInstanceState) {
|
||||
Timber.d("setupMapView called");
|
||||
boolean isDarkTheme = defaultKvStore.getBoolean("theme", false);
|
||||
MapboxMapOptions options = new MapboxMapOptions()
|
||||
.compassGravity(Gravity.BOTTOM | Gravity.LEFT)
|
||||
.compassMargins(new int[]{12, 0, 0, 24})
|
||||
.styleUrl(Style.OUTDOORS)
|
||||
.styleUrl(isDarkTheme ? Style.DARK : Style.OUTDOORS)
|
||||
.logoEnabled(false)
|
||||
.attributionEnabled(false)
|
||||
.camera(new CameraPosition.Builder()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue