code: function (e) {
          var scale = this._map.getZoomScale(e.zoom);
          var offset = this._map._latLngToNewLayerPoint(this._map.getBounds().getNorthWest(), e.zoom, e.center);
  
          L.DomUtil.setTransform(this._canvas, offset, scale);
      }
docs: ------------------------------------------------------------------------------