I am new to java programming, been programing in php so I\'m used to this type of loop:
int size = mapOverlays.size(); for(int n=1;n
You could use
mapOverlays.subList(1, mapOverlays.size()).clear();