Skip to content

Instantly share code, notes, and snippets.

View tutuoo's full-sized avatar
🇨🇳
666

tutuoo tutuoo

🇨🇳
666
View GitHub Profile
@tutuoo
tutuoo / gist:87121b5136590254313c91b097dc8321
Created April 11, 2017 06:19
BaiduMap overlay move refresh control
Iterator<Map.Entry<MarkerOptions, Marker>> finalMarker = mfinalMarker.entrySet().iterator();
while (finalMarker.hasNext()) {
boolean have = false;
MarkerOptions key = finalMarker.next().getKey();
Iterator<MarkerOptions> newMarker = mMarkerOptionsArrayList.iterator();
LogUtils.i(mMarkerOptionsArrayList.size() + "个 ,新增的");
while (newMarker.hasNext()) {
if (newMarker.next().equals(key)) {
have = true;
newMarker.remove();