Export map.getLayers