code: function findLayers(layers, names) {
    if (!defined(names)) {
      // If a list of layers is not specified, we're using all layers.
      return layers;
    }
    return names.split(",").map(function(id) {
      return findLayer(layers, id);
    });
  }
docs: /* Given a comma-separated string of layer names, returns the layer objects corresponding to them.