Closed MuellerMatthew closed 6 years ago
Not sure if this is still needed in 1.0?
Closing this as it's just too old to handle now. Also, I had a bit of a hard time understanding the use case for this, but feel free to enlighten me if you think this is an important addition to Proj4Leaflet.
Finally, from the looks of it, this will not handle the case where you do not supply GeoJSON to the constructor, something a lot of people had trouble with before and was fixed in #77.
I created a new function to the L.Proj.GeoJSON prototype called addCRS which contains all of the code to initialize custom CRS in a GeoJSON layer to allow custom GeoJSON layers with custom initializations and custom functions to incorporate the Proj.GeoJSON functionality inside the custom GeoJSON layer without reference the original GeoJSON prototype initialization.
example: