Open bhaskarvk opened 6 years ago
Hi, it seems to be an oversight that the documentation hasn't been updated with this change.
After Leaflet 1.0, you can use the bounds
property to set the projected bounds of the projection. You can refer to the TMS example to see how it's done: https://github.com/kartena/Proj4Leaflet/blob/b5a4cc7f2f11eba10d0f4605594f11b76cd12afa/examples/tms-tiled/script.js
@bhaskarvk I took the liberty to edit the issue title to reflect what has to be addressed to close this issue; I'm leaving it open until the docs have been fixed.
I don't see it in the new release but the documentation still refers to L.Proj.CRS.TMS for using TMS. It seems that now all we need is L.Proj.CRS, but I was wondering about how then to specify projectedBounds which was supported by L.Proj.CRS.TMS.
Any clarification would be greatly appreciated.