Clear markers from Google Map in Android

后端 未结 2 655
鱼传尺愫
鱼传尺愫 2020-12-14 05:20

I have added map on fragment activity and added several marker using addMarker function, but i am able to remove all markers , I am getting notification for different list o

2条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-14 05:44

    If you want to clear "all markers, overlays, and polylines from the map", use clear() on your GoogleMap.

提交回复
热议问题