Stack Exchange network consists of 176 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
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.
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:
Required, but never shown
5 years, 10 months ago
2 years, 6 months ago