You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Nothing happens if I change anything in proj4def or options. It seems only sensible to changes in "code". I use the projection to project layer from WMS server (EPSG5514 to EPSG3857)
Image - Problematic output
Question
I would appreciate any help or any tip what or where shall I look for the possible solution. Thank you.
The text was updated successfully, but these errors were encountered:
@pchochu hey! How is the progress with that one?
Can you please share code to show how you implemented proj4leaflet together with react-leaflet. I'm a bit stucked on it)
Definition
It seems to me that the constructor do not use params proj4def and options.
Versions
"leaflet": "^1.6.0"
"proj4leaflet": "^1.0.2"
"react-leaflet": "^2.7.0",
Map
Leaflet map got default CRS system - EPSG3857
Projection
krovak = new L.Proj.CRS( "EPSG:5514", "+proj=krovak +lat_0=49.5 +lon_0=24.83333333333333 " + "+alpha=30.28813972222222 +k=0.9999 +x_0=0 +y_0=0 " + "+ellps=bessel +towgs84=589,76,480,0,0,0,0 +units=m " + "+no_defs", {origin: [-951499.37, -930499.37], resolutions: [131088, 65544, 32772, 16386, 8193, 4096.5, 2048.25, 1024.125, 512.0625, 256.03125, 128.015625, 64.0078125, 32.00390625, 16.001953125, 8.0009765625, 4.00048828125, 2.000244140625, 1.0001220703125, 0.50006103515625, 0.250030517578125, 0.1250152587890625, 0.06250762939453125]});
Problem
L.Proj.CRS(code, proj4def, options)
Nothing happens if I change anything in proj4def or options. It seems only sensible to changes in "code". I use the projection to project layer from WMS server (EPSG5514 to EPSG3857)
Image - Problematic output
Question
I would appreciate any help or any tip what or where shall I look for the possible solution. Thank you.
The text was updated successfully, but these errors were encountered: