[android] #2805 - Adding processing of target, zoom, and bearing in animateCamera. Setting default location of TiltActivity to DC for more obvious change.

This commit is contained in:
Brad Leege
2015-12-02 15:29:20 -06:00
parent 8c55bc4a0f
commit 6ffcb7b6f6
3 changed files with 25 additions and 1 deletions

View File

@@ -31,13 +31,14 @@ public class TiltActivity extends AppCompatActivity {
}
// Target
LatLng dc = new LatLng(38.90252, -77.02291);
LatLng nyc = new LatLng(40.73581, -73.99155);
// Set up the map
mMapView = (MapView) findViewById(R.id.tiltMapView);
mMapView.setAccessToken(ApiAccess.getToken(this));
mMapView.setStyleUrl(Style.MAPBOX_STREETS);
mMapView.setCenterCoordinate(nyc);
mMapView.setCenterCoordinate(dc);
mMapView.setZoomLevel(11);
mMapView.onCreate(savedInstanceState);