[android] - remove timer from compassView, make fading when facing north optional. (#6786)
save state for recreating map view fix review comments unit test covering default value for fading and setting a new value fixup setter, fix default value
This commit is contained in:
@@ -58,6 +58,7 @@ public class PolygonActivity extends AppCompatActivity implements OnMapReadyCall
|
||||
.attributionTintColor(RED_COLOR)
|
||||
// deprecated feature!
|
||||
.textureMode(true)
|
||||
.compassFadesWhenFacingNorth(false)
|
||||
.styleUrl(Style.MAPBOX_STREETS)
|
||||
.camera(new CameraPosition.Builder()
|
||||
.target(new LatLng(45.520486, -122.673541))
|
||||
|
||||
@@ -28,6 +28,7 @@
|
||||
android:layout_height="match_parent"
|
||||
app:center_latitude="51.506675"
|
||||
app:center_longitude="-0.128699"
|
||||
app:compass_fade_facing_north="false"
|
||||
app:direction="90"
|
||||
app:tilt="40"
|
||||
app:zoom="10" />
|
||||
|
||||
Reference in New Issue
Block a user