code: function(map) {
      var self = this;
      this.options.map = map;
  
      // Add cartodb logo
      if (this.options.cartodb_logo != false)
        cdb.geo.common.CartoDBLogo.addWadus({ left:8, bottom:8 }, 0, map._container);
  
      this.__update(function() {
        // if while the layer was processed in the server is removed
        // it should not be added to the map
        var id = L.stamp(self);
        if (!map._layers[id]) {
          return;
        }
  
        L.TileLayer.prototype.onAdd.call(self, map);
        self.fire('added');
        self.options.added = true;
      });
    }
docs: When Leaflet adds the layer... go!
  @params {map}