Closed raymondben closed 4 years ago
https://github.com/AustralianAntarcticDivision/SOmap/commit/a62b15a30e66a105b23b8bb61e5ff53b7680cd16 but SOgg isn't yet handling an extra legend that has been SOmerged into a SOplot object:
mymap <- SOmap(bathy_legend = "space")
mylegend <- SOleg(x = runif(100), position = "topright", col = viridisLite::viridis(80),
breaks = c(0.1, 0.2, 0.5, 0.9), trim = -45, label = "Thing",
rnd = 1, type = "continuous")
mymgmt <- SOmanagement(eez = TRUE, basemap = mymap)
merged <- SOmerge(mymap, mymgmt, mylegend)
SOgg(merged)
Ooooh, so close https://github.com/AustralianAntarcticDivision/SOmap/commit/b7b9b5d8a1a9ac058849fea823b29d24f419277a still needs legend name added in gg version
Implement a gg converter for
SOmap_legend
objects