How to add progress bar (data loading icon) to leaflet map in rmarkdown document with shiny

Hi, I have web application build on rmarkdown,leaflet, shiny, flexdashboard:

After you select area from select box, leaflet map is rendered.
But it loads lot of geometry and takes a time (20-30 seconds), so I need to add there some information for user
like progress bar or data loading icon. I found on internet some solutions for leaflet standalone,
but nothing for leaflet implemented as a part of rmardown document together with shiny and flex dashboard.

Here is the rmarkdown document head:

    orientation: columns
    vertical_layout: fill
    css: 'styles.css'
runtime: shiny

Thanks for any advice !

1 Like

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.