Leaflet/Leaflet — pull request #2998 by nickdaugherty (2014-11-06 04:10:47+00:00)
Title: Add setLayers() to LayerGroup

Adds ability to set all layers in a LayerGroup en mass.

This is useful when needing to sync up the layers with
those stored in a separate location, for example.

Also provides parity with the existing getLayers() method

Fixes #2991