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

Make dependency on Proj4, Proj4Leaflet optional #19

Open
rgov opened this issue Aug 9, 2019 · 0 comments
Open

Make dependency on Proj4, Proj4Leaflet optional #19

rgov opened this issue Aug 9, 2019 · 0 comments

Comments

@rgov
Copy link

rgov commented Aug 9, 2019

It was a unclear to me from the README that Proj4 and Proj4Leaflet were required dependencies; they are described as "extra" dependencies for an extension to the TileJSON spec.

These files take an additional ~30 KB and about 1/4 of a second more to load. This may not seem like much but if every module requires a bunch of other modules that aren't used, it adds up.

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

No branches or pull requests

1 participant