Osmdroid 总是显示标记描述
我正在使用 Osmdroid,特别是此类: http://code.google.com/p/osmdroid/source/browse/trunk/osmdroid-android/src/org/osmdroid/views/overlay/ItemizedOverlayWithFocus.java
它显示了一个当点击某个项目(“聚焦”)时带有文本描述的气球,但我希望始终显示所有项目的描述。
任何人都遇到过这个问题,也许可以给我一个提示,告诉我在 ItemizedOverlayWithFocus.java- 类中要更改什么,可能是使用 draw()- 方法来完成此操作?
I'm working with Osmdroid, particularly with this class: http://code.google.com/p/osmdroid/source/browse/trunk/osmdroid-android/src/org/osmdroid/views/overlay/ItemizedOverlayWithFocus.java
It shows a ballon with text description when an item is tapped ('focused') but I want wo show the description of all items all the time.
Anybody had the dame issue yet of can perhaps give me a hint on what to change in the ItemizedOverlayWithFocus.java- class, probably the draw()- method to get that done?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您无需更改库源代码中的任何内容即可完成此操作:
使用多个
ItemizedOverlayWithFocus
,并在每个项目中仅放置一个覆盖项。You can do that without changing anything in the library source code:
Use multiple
ItemizedOverlayWithFocus
, and in each one, put only one overlay item.