[android] #4878 - Setting default MyLocationBackgroundTint to be white
This commit is contained in:
@@ -52,7 +52,6 @@ public class MyLocationToggleActivity extends AppCompatActivity {
|
||||
@Override
|
||||
public void onMapReady(MapboxMap map) {
|
||||
mapboxMap = map;
|
||||
mapboxMap.setStyle(Style.MAPBOX_STREETS);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
@@ -22,7 +22,6 @@
|
||||
android:id="@id/mapView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
mapbox:my_location_background_tint="@android:color/white"
|
||||
mapbox:access_token="@string/mapbox_access_token" />
|
||||
|
||||
<android.support.design.widget.FloatingActionButton
|
||||
|
||||
@@ -43,10 +43,9 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
app:my_location_foreground_tint="@color/primary"
|
||||
app:my_location_background_tint="@android:color/white"
|
||||
app:my_location_accuracy_tint="@color/primary"
|
||||
app:access_token="@string/mapbox_access_token"
|
||||
app:style_url="@string/style_mapbox_streets"
|
||||
app:zoom="15" />
|
||||
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
Reference in New Issue
Block a user