Skip to content
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.

Commit

Permalink
rename (#869)
Browse files Browse the repository at this point in the history
  • Loading branch information
Langston Smith authored Oct 8, 2018
1 parent 44361c8 commit 1d02573
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,13 @@ public void onMapReady(MapboxMap mapboxMap) {
mapboxMap.addLayer(satelliteRasterLayer);

// Create a new camera position
CameraPosition cameraPositionForFragmentMap = new CameraPosition.Builder()
CameraPosition newCameraPosition = new CameraPosition.Builder()
.zoom(19)
.build();

// Animate the map camera to show the fade in/out UI of the satellite layer
mapboxMap.animateCamera(
CameraUpdateFactory.newCameraPosition(cameraPositionForFragmentMap), 9000);
CameraUpdateFactory.newCameraPosition(newCameraPosition), 9000);
}

// Add the mapView lifecycle to the activity's lifecycle methods
Expand Down

0 comments on commit 1d02573

Please sign in to comment.