Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation still mentions L.Proj.CRS.TMS, although no longer present in the code #154

Open
bhaskarvk opened this issue Nov 10, 2017 · 2 comments

Comments

@bhaskarvk
Copy link

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.

@perliedman
Copy link
Contributor

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

@perliedman perliedman changed the title Is L.Proj.CRS.TMS gone? Documentation still mentions L.Proj.CRS.TMS, although no longer present in the code Nov 12, 2017
@perliedman
Copy link
Contributor

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants