Saving/restoring MyLocationViewSettings (#10746)

[android] saving/restoring MyLocationViewSettings, updated BitmapUtils
This commit is contained in:
Łukasz Paczos
2017-12-19 16:59:02 +01:00
committed by GitHub
parent fccdd7d7cf
commit de5357c95f
7 changed files with 134 additions and 37 deletions

View File

@@ -40,7 +40,7 @@ public class MyLocationTintActivity extends BaseLocationActivity implements Loca
mapboxMap = map;
// enable location updates
toggleGps(!mapboxMap.isMyLocationEnabled());
toggleGps(true);
// add some padding
final MyLocationViewSettings myLocationViewSettings = mapboxMap.getMyLocationViewSettings();