When producing a map without tiles, addAwesomeMarkers() does not work if clusterOptions = markerClusterOptions() is used (ie clusterOptions is not NULL).
If tiles are added, addAwesomeMarkers() works with clusterOptions = markerClusterOptions(). If no tiles are added, addAwesomeMarkers() works with only if clusterOptions = NULL.
The reason I am trying to get this to work without tiles is that I am using some JS in onRender() to use a leaflet plugin for ESRI vector tiles that has not been ported to R leaflet. And it has the same behavior as if no tiles were added.
When producing a map without tiles,
addAwesomeMarkers()
does not work ifclusterOptions = markerClusterOptions()
is used (ie clusterOptions is notNULL
).If tiles are added,
addAwesomeMarkers()
works withclusterOptions = markerClusterOptions()
. If no tiles are added,addAwesomeMarkers()
works with only ifclusterOptions = NULL
.The reason I am trying to get this to work without tiles is that I am using some JS in
onRender()
to use a leaflet plugin for ESRI vector tiles that has not been ported to R leaflet. And it has the same behavior as if no tiles were added.