Our server is using UTM internally. We then send a large number of UTM Coordinates to display them in a custom made leaflet layer.
First we transform (unproject) them into "normal" geographical coordinates using Proj4Leaflet . Then we use leaflets latLngToLayerPoint() function in order to project them for our custom layer.
The latLngToLayerPoint() function is projecting the geographic coordinates back into point coordinates.
Is there a way to transform our UTM coordinates directly into points without making the detour by geographical coordinates? I see that there is a transform() function which is used by Leaflet internally to project "normal" latlng coordinates.
How can I get the necessary parameters to perform a transformation from EPSG 32633 to the internal 3857 projection?
Best Answer
You can use the transform set up in proj4leaflet. I expect that you have already crated a CRS in your map.options.
If you want to set the internal coordinate system to UTM in leaflet I think you have to do a lot of recoding or use openLayers instead.