Implement #2702

Add map.eachLayer() to reference page