Android 地图叠加问题

发布于 2024-10-25 18:02:17 字数 864 浏览 5 评论 0原文

我有一组点(5-10)需要叠加在地图上。我能够正确执行叠加功能,与点对应的标记显示在地图上。但由于某种原因,android 跳过了添加前两点。知道为什么会发生这种情况吗?

03-21 15:18:58.703: INFO/System.out(22021): added today marker:Yann Martel 40.443299 -79.948573
03-21 15:18:58.703: INFO/System.out(22021): added today marker:American Landscapes: Treasures from the Parrish Art Museum  40.305861 -79.544878
03-21 15:18:58.703: INFO/System.out(22021): added today marker:Paul Thek: Diver, A Retrospective 40.443299 -79.948573
03-21 15:18:58.703: INFO/System.out(22021): added today marker:In My Father's House 40.443486 -79.995576
03-21 15:18:58.703: INFO/System.out(22021): added today marker:Ben Franklin: In Search of a Better World 40.446619 -79.992163
03-21 15:18:58.707: INFO/System.out(22021): added today marker:Ordinary Madness 40.443299 -79.948573

所有这些点都被添加到覆盖层中,然后调用 populate() 方法。

I have a set of points(5-10) that needs to be overlayed on the map. I am able to perform the overlay function correctly, the markers corresponding to the points are displayed on the map. But android skips adding the first two points for some reason. Any clue why that happens?

03-21 15:18:58.703: INFO/System.out(22021): added today marker:Yann Martel 40.443299 -79.948573
03-21 15:18:58.703: INFO/System.out(22021): added today marker:American Landscapes: Treasures from the Parrish Art Museum  40.305861 -79.544878
03-21 15:18:58.703: INFO/System.out(22021): added today marker:Paul Thek: Diver, A Retrospective 40.443299 -79.948573
03-21 15:18:58.703: INFO/System.out(22021): added today marker:In My Father's House 40.443486 -79.995576
03-21 15:18:58.703: INFO/System.out(22021): added today marker:Ben Franklin: In Search of a Better World 40.446619 -79.992163
03-21 15:18:58.707: INFO/System.out(22021): added today marker:Ordinary Madness 40.443299 -79.948573

All these are the points are added to the overlaym after which the populate() method is called.

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

恬淡成诗 2024-11-01 18:02:17

Yann Martel、Paul Thek 和 Ordinary Madness 都有完全相同的坐标。所以所有的点都在那里,只是彼此叠加。

Yann Martel, Paul Thek, and Ordinary Madness all have the same exact Coordinates. So all points are there, just on top of each other.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文