I want to remove all map overlays or markers from a Google map and using the following code
if(!mapOverlays.isEmpty())
{
mapOverlays.clear();
}
which gives me an exception, can anyone direct me? Am I right or wrong, if I am wrong, kindly provided me with a solution to my problem.
I want the map to be blank if it has a marker on it.
any help would be assigned.
source
share