diff --git a/inst/examples/examples.R b/inst/examples/examples.R index 48ae510..2cf3640 100644 --- a/inst/examples/examples.R +++ b/inst/examples/examples.R @@ -653,7 +653,11 @@ leaflet(quakes) %>% strokeWidth = 2) - +library(leaflet) +library(leaflegend) +data("quakes") +baseSize <- 5 +numPal <- colorNumeric('viridis', 10^(quakes$mag)) leaflet(quakes) |> addTiles() |> addLegendSize(