而不将其添加到地图创建标记? [英] Create a Marker without adding it to the map?
本文介绍了而不将其添加到地图创建标记?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
- 如何创建实例标记类的,但没有将其添加到地图中。
推荐答案
您可以使用<一个href=\"http://$c$c.google.com/p/android-maps-extensions/source/browse/android-maps-extensions/src/pl/mg6/android/maps/extensions/lazy/LazyMarker.java\"相对=nofollow> LazyMarker.java 从 Android地图扩展。
直到你调用调用setVisible(真)
它它不实际创建标记。
It doesn't physically create marker until you call setVisible(true)
on it.
这篇关于而不将其添加到地图创建标记?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文