Skip to main content

All Questions

1 vote
1 answer
92 views

clusterOptions() displaying correct area of map but no markers or clusters

I am working on a Shiny app in R that creates a leaflet map and plots points. Plotting the points by themselves works fine. The issue arises when I try to implement even the most basic clusters. I can ...
z3r0summ's user avatar
2 votes
0 answers
216 views

modify icon size using iconCreateFunction in leaflet for R

Using the quakes data as an example and the code below, I wish to modify the icon size. I need to keep the rest of the code as unchanged as possible, I just want to make the icons smaller. Can anyone ...
Esteban's user avatar
  • 23
7 votes
2 answers
1k views

Pie charts in R leaflet, turn count into sum and control more the size

I am fascinated by the solution of grouping markers and presenting counts by groups in form of small piecharts https://stackoverflow.com/a/60525137/3480717 I am R only and do not know JS. I would like ...
Jacek Kotowski's user avatar
0 votes
0 answers
206 views

How to add cluster marker icons to the Layers Control in leaflet R

Using the quakes data as an example, I want to assign a random colour to each station in the dataset, use marker clustering, and have icons with the colour in the layer control. I have managed to do ...
Esteban's user avatar
  • 23
1 vote
1 answer
328 views

Leaflet addMarkers not rendered when using clusterOptions with addPolygons or addRasterImage

I have a working leaflet map that shows several markers clustered using clusterOptions. I want to add topography data and some border shapefiles as a background instead of the default tiles. However, ...
waskawy_wombat's user avatar
1 vote
2 answers
4k views

R - Leaflet Limitations - How many markers does a leaflet map support?

Data I have a dataframe which contains 35,000 lat/lon locations. The locations have been plotted onto an interactive leaflet map. The Situation I would like to publish the map online via a ...
Ryan P's user avatar
  • 13