Skip to content

Zoom after cluster click #22

@Marvin99

Description

@Marvin99

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions