views:

301

answers:

1

dear friends,

i want to set default zoom level in google map to 11 miles can any one guide me how to achieve this?

any help would be appriciated.

+2  A: 

Something like this:

MaView mapView = (MapView)findViewById(R.id.my_map);
MapController mapController = mapView.getController();
mapController.setZoom(14);    // this isn't 11 miles.

Or maybe you have a MapActivity? In that case, the idea is the same, but you'll get the MapView differently.

marcc