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

How can i call leaflet methods? #62

Open
rfarkv opened this issue Dec 19, 2024 · 3 comments
Open

How can i call leaflet methods? #62

rfarkv opened this issue Dec 19, 2024 · 3 comments

Comments

@rfarkv
Copy link

rfarkv commented Dec 19, 2024

It is possible to call leaflet methods directly? If i need to call any leaflet method (i.e: fitBounds) can i do this?

Thanks.

@ichim
Copy link
Owner

ichim commented Dec 19, 2024

Hello sir,

No sir, sorry!

This is a limit of the package!

However, globals variables (L, map) can be invocated on "module" from JavaScript invocation. I don't recommend it!

@rfarkv
Copy link
Author

rfarkv commented Dec 20, 2024

How so? Maybe a better question is: How can i access the map through js? I need to use Leaflet.markercluster but i can't access the map.

@rfarkv
Copy link
Author

rfarkv commented Jan 23, 2025

@ichim

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

2 participants