My code to create the map and layer -
var crs = new L.Proj.CRS.TMS(
'EPSG:900913',
'+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs',
[-20037508.34,-20037508.34,20037508.34,20037508.34],
{ tileSize: 512,
resolutions: [4891.9698095703125, 2445.9849047851562, 1222.9924523925781, 611.4962261962891, 305.74811309814453, 152.87405654907226,76.43702827453613, 38.218514137268066, 19.109257068634033, 9.554628534317017, 4.777314267158508] }
),
map = L.map('map', {
crs: crs,
continuousWorld: false, worldCopyJump: false,
zoomControl: true
});
new L.TileLayer.GWC('http://{URL REMOVED}/Layer_0{z}/{dir_x}_{dir_y}/{x}_{y}.png8', {
maxZoom: 8,
minZoom: 0,
subdomains: '0123',
continuousWorld: false,
attribution: '? 2014',
tms: true,
tileSize: 512
}).addTo(map);
map.setView(L.latLng(53.579244, -1.499634), 0);
map.panTo(L.latLng(53.579244, -1.499634));