Here is an excerpt of my code:
if(myLocation != null)
{
double latitude = myLocation.getLatitude();
double langitude = myLocation.getLongitude();
LatLng currentLocation = new LatLng(latitude, langitude);
mMap.moveCamera(CameraUpdateFactory.newLatLng(currentLocation));
mMap.animateCamera(CameraUpdateFactory.zoomTo(16));
}
Is there a reason the two last lines aren't doing anything? The whole map of Africa just displays when I run the program (with the current location).