我正在使用android-maps utils库。我想要得到一个集群中的所有物品。也就是说,当一个集群被点击时,我想要拥有该集群中包含的所有最新和最长的位置。这是一张图片..
https://developers.google.com/maps/documentation/android-api/images/utility-markercluster.png
我想要的是,当我点击50+时,我想得到它形成的所有最新长度
当我添加最后的多头头寸时,我会这样做
mClusterManager.addItem(new MyItem(lat,long)); //Here MyItem implements ClusterItem我想要的是
@Override
public boolean onClusterClick(Cluster<MyItem> cluster) {
//Some method which can give all the lat long constitutes this cluster
return true;
} https://stackoverflow.com/questions/38421444
复制相似问题