Skip to content

Commit

Permalink
Merge pull request #12 from alexsla/master
Browse files Browse the repository at this point in the history
fix to occ maps
  • Loading branch information
alexsla authored May 30, 2024
2 parents 5dc6e7b + 0d9af64 commit ee75bf3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app.R
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ server <- function(input, output){
addTiles() %>%
addProviderTiles(providers$CartoDB.Positron) %>%
addCircleMarkers(
data = sp_all %>% st_as_sf(coords = c("longitude", "latitude"), crs = "WGS84"),
data = sp_all %>% sf::st_as_sf(coords = c("longitude", "latitude"), crs = "WGS84"),
radius = 6,
stroke = FALSE,
label = ~species,
Expand Down Expand Up @@ -332,7 +332,7 @@ server <- function(input, output){
addTiles() %>%
addProviderTiles(providers$CartoDB.Positron) %>%
addCircleMarkers(
data = sp_all %>% st_as_sf(coords = c("longitude", "latitude"), crs = "WGS84"),
data = sp_all %>% sf::st_as_sf(coords = c("longitude", "latitude"), crs = "WGS84"),
radius = 6,
stroke = FALSE,
label = ~species,
Expand Down

0 comments on commit ee75bf3

Please sign in to comment.