How to check marker with same geo coordinates already exists in Google maps v2? Android -
i developing app in first time when app starts fetch locations in terms of latitude , longitude server , show them on map in terms of markers. after app starts receiving coordinates through pushing mechanism implement google cloud messaging gcm. want coordinate app receive through gcm first check whether marker same latitude , longitude present on map or not if yes remove marker map. please guide me how can achieve this. here code when first time app start , fetch coordinates server through service. user = json.getjsonarray(tag_gps); string latitude, longitude, type; latlng latlnggps; int a=user.length(); for(int i=0;i<a;i++){ jsonobject c=user.getjsonobject(i); latitude=c.getstring(tag_lat); longitude=c.getstring(tag_long); id=c.getstring(tag_id); mgooglemap .addmarker(new markeroptions().position(latlnggps).title("a").icon(bitmapdescriptorfa...