Is it possible to change the size of an awesome marker? Unlike makeIcon()
, makeAwesomeIcon()
doesn't provide size-related options.
data(quakes)
icon <- makeAwesomeIcon(icon="flag", markerColor="red", iconColor="white")
leaflet(data = quakes[1:20,]) %>%
addTiles() %>%
addAwesomeMarkers(~long,
~lat,
icon=icon,
popup = ~as.character(mag),
label = ~as.character(mag))