Android 地图叠加问题
我有一组点(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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
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.