Shiny turns gray when launched on the server - leaflet lasts a long time to grow

I am running a brilliant application on our local server to map various geodata using flyers. Some of the data sets that I want to display are available as WMS and are loaded using

%>% addWMSTiles()

Other data is stored as a SpatialPolygonDataFrame (SPDF) as .rda files locally and displayed using

%>% addPolygons()

when the application is completed.

When I run the application on my local laptop, everything works fine - rd is required. 15-20sec to create the application because I draw 18 different WMS and 5 different SPDFs.

However, problems arise when starting the application on our server. After some time (upon creation), the application suddenly turns gray.

I found out that the slow build-up of the application is related to local SPDF files. However, local SPDF files are no larger than 1.5 MB.

I wonder if there is a better solution for building polygons. Is there a recommended format for brilliant / leaf geopolygons?

+4
source share
1 answer

. , , , . . . , , . -, , . , markerclusters.

+2

Source: https://habr.com/ru/post/1625359/


All Articles