Android地图叠加问题

时间:2011-03-21 19:25:38

标签: android overlay android-maps itemizedoverlay

我有一组需要在地图上叠加的点(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

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

1 个答案:

答案 0 :(得分:2)

Yann Martel,Paul Thek和普通Madness都拥有相同的坐标。所以所有的点都在那里,彼此重叠。