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

New feature with "getDimensions" Function #24

Closed
hijiangtao opened this issue Mar 19, 2017 · 1 comment
Closed

New feature with "getDimensions" Function #24

hijiangtao opened this issue Mar 19, 2017 · 1 comment

Comments

@hijiangtao
Copy link

It's really helpful to find the plugin of leaflet when I do my research project recent times, thanks for your efforts of previous developing works. An extra demand came to my mind when I need to handle multiple map instances in an synchronized way, and I add one function to solve my little problem.

The demand shows here: I need to synchronize the different maps when I zoom in/out or pan anyone among of them, as well as synchronize the areaselect area, a simple way is to exposed the dimensions of the operating box when the areaselect area detects change and then my other function can set the dimensions of box in other maps with the gotten dimension data, but there is not getDimensions function yet, so I added it, shows in #23 .

I also updated README with the usage.

Best.

@heyman
Copy link
Owner

heyman commented Nov 21, 2023

There's now a getDimensions() method. Thanks!

@heyman heyman closed this as completed Nov 21, 2023
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