1

Android Google Maps API V2 not zooming to Location

view story
linux-howto

http://stackoverflow.com – Im not sure whats wrong but Im trying to get my google maps fragment to zoom in to a particular location on start. For some reason, it is not working and still zooms in to africa by default. Here is my code. public class OutbreakMap extends Activity implements LocationListener { double lat=50; double longi=50; private LocationManager locationManager; private String provider; private MapFragment mMapFragment; private GoogleMap googleMap; /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { s (HowTos)