I need to make a map with clusters that has about 30.000 points with the code like this:
leaflet(quakes) %>% addTiles() %>% addMarkers (
clusterOptions = markerClusterOptions()
however, with 30k points the html file becomes too heavy, 47 MB.
Is there a way to make the clusters with many points and have the final map more light?
I found this library: https://github.com/r-spatial/leafgl but it seems that it does not to make clusters