mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
* fixed issue #1395 * moved the compass icon to bottom-left corner
This commit is contained in:
parent
adff92042e
commit
3949dbca5c
1 changed files with 2 additions and 0 deletions
|
|
@ -456,6 +456,8 @@ public class NearbyMapFragment extends DaggerFragment {
|
|||
|
||||
private void setupMapView(Bundle savedInstanceState) {
|
||||
MapboxMapOptions options = new MapboxMapOptions()
|
||||
.compassGravity(Gravity.BOTTOM | Gravity.LEFT)
|
||||
.compassMargins(new int[]{12, 0, 0, 24})
|
||||
.styleUrl(Style.OUTDOORS)
|
||||
.logoEnabled(false)
|
||||
.attributionEnabled(false)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue