Skip to content

Commit

Permalink
circle color has to be fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
joyliujoyliu committed Jul 2, 2024
1 parent a96b09d commit 0c4d952
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/leaflet_graph.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ leaflet_graph <- function(station_spatial) {
leaflet::leaflet(data = df) |>
leaflet::addTiles() |>
leaflet::addCircleMarkers( lat = ~lat, lng = ~lon,
color= ~numPal(Detections), fillColor = ~numPal(Detections),fillOpacity = 0.7,
color= 'black', fillColor = ~numPal(Detections),fillOpacity = 0.7,
popup = paste("Station ", df$station , "<br>",
"PI:", df$PI, "<br>",
"Detections:", df$Detections, "<br>",
Expand Down

0 comments on commit 0c4d952

Please sign in to comment.