code: function() {
          L.TimeDimension.Layer.WMS.prototype._updateTimeDimensionAvailableTimes.call(this);
          if (this._dateRange === undefined) {
              this._setDateRanges();
              this._addMarkers();
          }
      }
docs: we need to overwrite this function, which is called when the layer has availabletimes loaded, in order to initialize dates ranges (current min-max and layer min-max date ranges) and after that add the default markers to the map