阅读背景:

Google Maps api v2 android:如何删除单个标记?

来源:互联网 

In my app i need to have 2 types of markers: the first ones need to stay on a location and the second ones need to move, right now I dont have the static markers yet but my app can show a marker moving if the location of the phone changes but for that i call mMap.clear(), I dont want to clear all markers when the location changes so I need to remove only that marker, I read in another question that I need to use Marker.remove(); to remove individual markers but im not sure where to implement that in the code.In my app i need to have 2 types of markers: th




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: