public void removeAllLayers(){
  _layers.removeAllElements();
  refreshLayers=true;
  super.repaint();
}

public void removeAllLayers ( ) { _layers . removeAllElements ( ) ; refreshLayers = true ; super . repaint ( ) ; }
removes all layers from the map
