Increased plotly geo plot text size so legend items are larger than 24px x 24px

This commit is contained in:
2026-02-27 09:47:03 +00:00
parent 7cffb9590f
commit 4fa0ad3b54
2 changed files with 5 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
Package: AVSDevR.MarineNoiseRegistry
Title: Marine Noise Registry Common Code Package
Version: 1.0.0
Version: 1.0.0.9000
Authors@R:
person("Craig", "Williams", , "craig@avsdev.uk", role = c("aut", "cre"))
Description: Comon code and assets for all of the Marine Noise Registry

View File

@@ -181,6 +181,10 @@ MNR.GeoPlot <- R6::R6Class(
private$addJNCCLayers(with_jncc_layers) %>%
private$addConservationAreas(with_conservation_areas) %>%
plotly::layout(
font = list(
family = "Roboto, \"Helvetica Neue\", Helvetica, Arial, sans-serif",
size = 15
),
mapbox = list(style = "carto-positron"),
legend = list(
groupclick = "toggleitem",