Generally the naming of some variables and functions is a bit confusing (getMapOverlays vs getMapLayers for example).
@Roboe
Your semantics arguments are sharp: I had a hard time trying to be coherent with the Leaflet docs (a layer and an overlay are not the same) and English semantics. What alternatives do you suggest for getMapOverlays() and getMapLayers()?
@StefanBrand
Hmmm. We should probably differ between Overlays and BaseLayers. Both of them are layers, so getMapLayers() is correct. Instead layers should be overlays in most of the cases, I guess.
As commented in #13:
@StefanBrand
@Roboe
@StefanBrand