配售数千针对谷歌在Android应用程序映射 [英] Placing thousands of pins on google map in android app

查看:121
本文介绍了配售数千针对谷歌在Android应用程序映射的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在与我的程序员和有我们试图找到一个简单的/开源的解决方案,因为我敢肯定,其他的问题都遇到了同样的问题之前......

I'm working with my programmers and have an issue that we're trying to find a simple / opensource solution to as i'm sure others have come across the same issue before...

在简单来说,我们正在努力把成千上万的在谷歌地图管脚一个Android应用程序中....

In simple terms we're trying to place thousands of pins on a google map within an android application....

我们设法解决了数千针对在X code一个谷歌地图使用聚类算法,把他们安置在集群的问题,并给了在某一领域的引脚数,然后根据您放大时,销特别出现在他们的位置。

We managed to solve the problem of placing thousands of pins on a google map within xcode by using a clustering algorithm that placed them in clusters and gave the number of pins in a particular area, then as you zoom in , the pins specifically appear in their locations.

然而,试图android的空间内使用相同的算法时,我们发现它缓慢和不稳定,与应用程序崩溃,成为无法使用。

However, when trying to use this same algorithm within the android space, we're finding it slow and unstable, with the application crashing and becoming unusable.

显然只是想填充所有的引脚位置在地图上也不是个办法,但沿着群集或装载销在不同的缩放级别,当行的另一个解决方案....如果你能指导我什么人帮助别人做来解决这个问题,或提出一个解决方案,我将非常感激,

clearly just trying to populate all the pin locations on the map is not the solution, but another solution along the lines of clustering or loading pins when at different zoom levels....if you can help by directing me to what someone else has done to solve this problem or suggest a solution, I would be very grateful,

推荐答案

您可以看到这个答案 AndroidMapCluster 和其他项目<一href="http://$c$c.google.com/p/android-playground-erdao/source/browse/trunk/SampleClusterMap/src/com/erdao/android/SampleClusterMap/SampleClusterMapActivity.java?r=226"相对=nofollow> SampleClusterMapActivity

You can see this answer AndroidMapCluster and another project SampleClusterMapActivity

这篇关于配售数千针对谷歌在Android应用程序映射的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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