vendor/ember-leaflet-cartodb/cartodb_noleaflet.js
function() {
    var self = this;
    return _.compact(this.map.layers.map(function(layer) {
      return self.mapView.getLayerByCid(layer.cid);
    }));
  }
function() {
    var self = this;
    return _.compact(this.map.layers.map(function(layer) {
      return self.mapView.getLayerByCid(layer.cid);
    }));
  }
function ( ) { var self = this ; return _ . compact ( this . map . layers . map ( function ( layer ) { return self . mapView . getLayerByCid ( layer . cid ) ; } ) ) ; }
returns an array of layers
returns an array of layers