You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can do following to move camera on cluster click: map.animateCamera(CameraUpdateFactory.newLatLngZoom(new LatLng(cluster.getLatitude(), cluster.getLongitude()), (float) Math.floor(map .getCameraPosition().zoom + 1)), null);
Hi.
I do not understand how to make clustering after click on Cluster?
In google library we go that:
@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;
In this library we do not have getPosition() so how we can do it?
Sorry, if this is very stupid question I am a beginner in android.
The text was updated successfully, but these errors were encountered: