Update reference.html

getLayers() documentation fixed (wrong type)
Merge pull request #1812 from AndreyGeonya/patch-3

Update reference.html