安卓 +地图视图大量标记

发布于 2024-09-24 02:18:15 字数 320 浏览 0 评论 0原文

我一直在关注 hello mapview 教程

在教程中,他们使用 ItemizedOverlay 类的自定义实现。 我尝试使用这种方法,但当我添加大量 OverlayItems 时,性能非常差。

这让我认为我使用的教程并不是最适合我的需求。任何人都可以向我指出当我需要在地图视图上添加大量标记(<500)时应该使用什么的教程或文档吗?

干杯!

I have been following the hello mapview tutorial

In the tutorial they use a custom implementation of the ItemizedOverlay class.
I tried using this approach but I am getting very poor performance when I add a large number of OverlayItems.

This leads me to think that the tutorial I used is not best suited for my needs. Can anyone point me to a tutorial or documentation on what I should use when I need to add a large number of markers (<500) on a mapview ?

Cheers !

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文