I\'m looking to do something like what is done right here in Android. What I need to do is group markers into different groups and have checkboxes to each group.
W
You have to take array list of marker depend on category,
ArrayList category1=new ArrayList<>();
ArrayList category2=new ArrayList<>();
than add your maker on this array list, after remove on click event plz write this
for (int i=0; i< category1.size(); i++){
category1.get(i).setVisibility(false);
}
i think this is helpfull