Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
简单来说,我在 KML 文件中有一些地标,如果我加载了这个 KML,然后单击 Placemark - 会显示气球。 如果我删除该 KML,地标就消失了,但气球仍然显示。 无论如何让它关闭?
这应该可以关闭任何打开的气球:
ge.setBalloon(null);