seelmann/leaflet-providers — pull request #15 by calvinmetcalf (2013-01-18 13:37:22+00:00)
Title: Autofill layer control

Pass an array of provider names instead of an object when creating a layer control, this adds "L.Control.Layers.Provided" and "L.control.layers.provided" methods to do that. I've been using this myself and figured others might find it useful.