I want to create a sheet map using the EPSG projection : 31466 . I have included the library proj4as well as the plugin proj4leaflet. I plan to enable this WMS service using a layer fp_plan.
I tried to customize my map using the following approach ( fiddle ).
var rs31466 = new L.Proj.CRS(
'EPSG:31466',
'+proj=tmerc +lat_0=0 +lon_0=6 +k=1 +x_0=2500000 +y_0=0 +ellps=bessel +datum=potsdam +units=m +no_defs',
{
origin: [
2490547.1867,
5958700.0208
],
resolutions: [
10000000 * 0.00028,
5000000 * 0.00028,
2500000 * 0.00028,
1000000 * 0.00028,
500000 * 0.00028,
250000 * 0.00028,
100000 * 0.00028,
50000 * 0.00028
]
}
);
var wmsLayer = L.tileLayer.wms('http://xplanung.lkee.de/xplan-wms-neu/services/wms', {
version: '1.3.0',
crs: rs31466,
layers: 'fp_plan',
format: 'image/png',
transparent: false,
continuousWorld: true
});
var map = L.map('map', {
crs: rs31466,
center:[51.310, 13.393],
zoom: 1,
layers: [
wmsLayer
]
});
I would expect to see something like this:

Fragments requested, but the section does not contain the expected layer information. If I use the EPSG project : 25833 , fragments are selected and displayed exactly waiting ( violin ).
Cg_fd source
share