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.
[GIS] Progress bar for Leaflet map
javascriptleafletweb-mapping
javascriptleafletweb-mapping
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.
Best Answer
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.