似乎 an 中的标记ItemizedOverlay
不会显示在地图中,除非您调用boundCenter()
或boundCenterBottom()
在默认标记上。
这是正确的,如果是,为什么?是不是默认情况下根本没有设置(0,0)点,因此Android不知道如何放置标记?
更新:
我看到你也有 Drawable.setBounds(),所以我假设boundCenter()
并且boundCenterBottom()
正在调用这个方法。如何决定将 Drawable 的哪一部分用作地图上的定位点?