In my android app I have the following code...
CameraUpdate center= CameraUpdateFactory.newLatLng(new LatLng(Lat,Lon));
DebugLog.debugLog(\"centered camera o
Keep the perspective the same, but center camera at the currently clicked marker:
obj_map.setOnMarkerClickListener(new GoogleMap.OnMarkerClickListener() {
@Override
public boolean onMarkerClick(Marker arg0) {
CameraPosition obj_cam = new CameraPosition.Builder()
.target(new LatLng(arg0.getPosition().latitude, arg0.getPosition().longitude))
.zoom(obj_map.getCameraPosition().zoom)
.tilt(obj_map.getCameraPosition().tilt)
.bearing(obj_map.getCameraPosition().bearing)
.build();
obj_map.animateCamera(CameraUpdateFactory.newCameraPosition(obj_cam));
return true;
}