Skip to content

Commit

Permalink
adding ex
Browse files Browse the repository at this point in the history
  • Loading branch information
tomroh committed Jan 4, 2024
1 parent 13148ea commit a66eb0e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion inst/examples/examples.R
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit a66eb0e

Please sign in to comment.