wrong parameter order

This commit is contained in:
Konstantin Käfer
2015-02-16 19:03:04 -08:00
committed by Konstantin Käfer
parent d16974264c
commit ef57f6b522

View File

@@ -201,7 +201,7 @@ public class MainActivity extends ActionBarActivity {
// Handles location updates from GPS
private void updateLocation(Location location) {
if (location != null) {
LatLngZoom coordinate = new LatLngZoom(location.getLongitude(), location.getLatitude(), 16);
LatLngZoom coordinate = new LatLngZoom(location.getLatitude(), location.getLongitude(), 16);
mMapFragment.getMap().setCenterCoordinate(coordinate, true);
}
}