The TLcyCombinedMapManager keeps track of all available maps, and exposes them through a getter.

ILcyLucyEnv lucy = ...;

//Retrieve the map manager
TLcyCombinedMapManager mapManager = lucy.getCombinedMapManager();

//Ask the map manager for all currently available maps
List<ILcyGenericMapComponent<? extends ILcdView, ? extends ILcdLayer>> mapComponents = combinedMapManager.getMapComponents();
mapComponents.forEach(map -> {
  //do something with the map

The snippet above gives you access to all currently available maps.

However, often you want to execute a certain piece of code for all current maps, and all maps that become available in the future. How to execute code for each current and future map illustrates how you can do that.