Skip to content

Commit

Permalink
refactoring: restore countries display
Browse files Browse the repository at this point in the history
The ICES rectangles do not include the coasts.

issue: #67
  • Loading branch information
PMHLambert committed May 4, 2023
1 parent a91c027 commit 1d01d0e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion R/mod_a_first_fct_map.R
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ tm_draw <- function(species_latin_name,
# ------------------------------------------ display the map
tm_graticules() +
tm_ocean +
# tm_frontiers +
tm_frontiers +
tm_catchmment +
tm_layout(
main.title.fontface = 3,
Expand Down
2 changes: 1 addition & 1 deletion data-raw/bb-page1-catch-bycatch.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ tm1 <- tm_draw(
ices_geom = datasets$ices_geom,
session = session
)
diades.atlas::tm_frontiers +tm1
tm1 + diades.atlas::tm_frontiers
# tmap_leaflet(tm1)
```

Expand Down
2 changes: 1 addition & 1 deletion data-raw/frontiers.R
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ library(rworldxtra)
library(tmap)
library(sf)

worldMap <- getMap(resolution = "high") %>% st_as_sf()
worldMap <- getMap(resolution = "low") %>% st_as_sf()

states = c("Portugal", "Spain","France", "United Kingdom", "Ireland", "United Kingdom", "Belgium",
"Netherlands", "Germany", "Denmark", "Sweden", "Norway", "Poland", "Switzerland","Italy",
Expand Down

0 comments on commit 1d01d0e

Please sign in to comment.