单击集群后缩放地图

Zoom map after Cluster click

我正在尝试在 onClusterClick 之后实现缩放,但我正在使用这个库 Link,但我不知道该怎么做。在Google 图书馆

 @Override
 public boolean onClusterClick(final Cluster<MyItem> cluster) {
   map.animateCamera(CameraUpdateFactory.newLatLngZoom(
   cluster.getPosition(), (float) Math.floor(map
   .getCameraPosition().zoom + 1)), 300,null);
                return true;`

但我没有getPosition()。我只有 getLatitude()getLongitude

map.animateCamera(CameraUpdateFactory.newLatLngZoom(new LatLng(getLatitude(), getLongitude()), MY_ZOOM)

或者这个选项

LatLngBounds.Builder builder = LatLngBounds.builder();
for (SampleClusterItem item : cluster.getItems()) {
    builder.include(new LatLng(item.getLatitude(), item.getLongitude()));
}
final LatLngBounds bounds = builder.build();

try {
    mMap.animateCamera(CameraUpdateFactory.newLatLngBounds(bounds, PADDING));
} catch (Exception e) {
    Log.e("TAG_SNAP", "onClusterClick: " + e.getMessage());
}