Is there any way to show progress bar while waiting that all layers are rendered on Leaflet map? In this specific case, while GeoJSON layers are rendered.

2 Answers 2


There is the leaflet loading plugin https://github.com/ebrelsford/Leaflet.loading, it is straightforward to use. you could also look at the Spin plugin https://github.com/makinacorpus/Leaflet.Spin which is more customizable.


Thanks, but I already found this solution:


  • 10
    That is my answer.
    – neogeomat
    Aug 22, 2013 at 2:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.