Google Maps v2 zoom to specific marker

I have a search AutoComplete in my map and display the title from my database. Can it be possible to put zoom functionality to that specific marker? I'm using google maps api v2.

map search


ANSWERS:


Look at these code snippets:

This should be what you're looking for:

GoogleMap map = ((MapFragment) getFragmentManager()
        .findFragmentById(R.id.map)).getMap();

LatLng sydney = new LatLng(-33.867, 151.206);

map.setMyLocationEnabled(true);
map.moveCamera(CameraUpdateFactory.newLatLngZoom(sydney, 13));


 MORE:


 ? When i use Google Map Api v2 for map then i can't add google play service library
 ? Google Map API v2 Heatmap not showing all locations
 ? Can we cache google map programatically?
 ? Google Maps Android Heatmap Utility showing white tiles
 ? Google Maps API v2 Android Studio Map not loading
 ? how distance and duration actually computed in android google maps direction api?
 ? how distance and duration actually computed in android google maps direction api?
 ? how distance and duration actually computed in android google maps direction api?
 ? Gps tracking using google direction api in android
 ? how to show the current location as arrow in Google Maps Android API V2?