Android 地图点聚类 [英] Android Maps Point Clustering

查看:50
本文介绍了Android 地图点聚类的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

android 中是否有 Point Clustering 的代码?如何在不出现性能问题的情况下加载数千个精确点?

Is there any code for Point Clustering in android? How can i load thousand pinpoint without having performance issues?

推荐答案

昨晚我进入了 Android MapView 上的 PointClustering.看到社区没有任何东西,所以我想分享.

Last night i got into PointClustering on Android MapView. Saw that there was nothing out for the community so i would like to share.

如果地理点在 mapView 中的投影太近,则将它们分组.也只渲染可见的点.

Groups the geopoints if the projection of them in the mapView is too close. Also renders only the visible poins.

更新

从头开始重新编写代码.

现在可在 GitHub

  1. 从头开始重新编写代码
  2. 使用 GVM 聚类算法(速度很快,但没有像我的那样定位聚类点)
  3. 即将添加之前的聚类算法

这篇关于Android 地图点聚类的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆