Main.getLayerManager()
Main.map
Main.isDisplayingMapView()
Main.main.[add|remove]Layer
try-with-resources