简体   繁体   English

如何在地图视图上消失图像?

[英]How to disappear images on a map view?

I have created a map view application and overlay some images on the map view. 我创建了一个地图视图应用程序,并将一些图像覆盖在地图视图上。 While clicking a button, all the images should disappear. 单击按钮时,所有图像应消失。 How to do this?..Please help 怎么做?..请帮助

Got it. 得到它了。

listOfOverlays = mapView.getOverlays();
listOfOverlays.clear();
mapView.invalidate();

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM