Har*_*les 1 android google-maps google-maps-api-2
我在我的地图中有一个搜索自动完成并显示我的数据库中的标题。是否可以将缩放功能应用于该特定标记?我正在使用谷歌地图 api v2。

看看这些代码片段:https : //developers.google.com/maps/documentation/android/
这应该是你要找的:
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));
Run Code Online (Sandbox Code Playgroud)