public void removeAllMapEventsListeners(){
  if (mapEventsListeners != null) {
    mapEventsListeners.clear();
  }
  mapEventsListeners=new ArrayList<MapEventsListener>();
}

public void removeAllMapEventsListeners ( ) { if ( mapEventsListeners != null ) { mapEventsListeners . clear ( ) ; } mapEventsListeners = new ArrayList < MapEventsListener > ( ) ; }
removes all map event listeners .
