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

Does this library has typescript support? I am using leaflet in my Angular(16.x.x) project. #1392

Open
Surajbisht15 opened this issue Oct 4, 2023 · 4 comments

Comments

@Surajbisht15
Copy link

I have been using leaflet in angular. And now I need leaflet.DistortableImage support in by application.

I am not able to use this library as suggested (L.distortableImageOverlay()). It says L. has no exported member with this name.

Do I have to add any other library or another way to use it?

@welcome
Copy link

welcome bot commented Oct 4, 2023

Thanks for opening your first issue here! This space is protected by our Code of Conduct - and we're here to help.
Please follow the issue template to help us help you 👍🎉😄
If you have screenshots or a gif to share demonstrating the issue, that's really helpful! 📸
You can make a gif too!
Do join our Gitter channel for some brainstorming discussions.

@quadraturin
Copy link

I would also love to see TS type definitions for this library!

@jywarren
Copy link
Member

jywarren commented Oct 6, 2023

Hi all, unfortunately I don't have the capacity to continue maintaining... but would be happy to merge something if a few people can review it. I appreciate your understanding!

@Surajbisht15
Copy link
Author

For now I have solved this issue by using L as any:
(L as any).distortableImageOverlay; This is how it removes runtime error

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

3 participants