* fixed issue #1395

* moved the compass icon to bottom-left corner
This commit is contained in:
Yiran Cao 2018-04-05 13:27:10 -04:00 committed by neslihanturan
parent adff92042e
commit 3949dbca5c

View file

@ -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)