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

Load multiple files #26

Open
sinanerdem opened this issue Oct 27, 2014 · 0 comments
Open

Load multiple files #26

sinanerdem opened this issue Oct 27, 2014 · 0 comments

Comments

@sinanerdem
Copy link

Hello, I have multiple geojsons to add to a map. I want to load each of them one by one. But after loading all of them, I will add them to a featuregroup and then do some operations like centering the map, etc. I want to use data:loaded. It is ok if I load only one file. But I dont know how if there are multiple loads.

I found a method by jQuery: http://api.jquery.com/deferred.done/
But it does not work for Leaflet Ajax.

Any ideas?

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