plot_map.RdA lower-level plotting helper that turns a polygon/value table, or the list returned by `map_ereefs(..., return_poly = TRUE)`, into a `ggplot2` map.
Polygon/value table in the format used internally by the package, or a list returned by `map_ereefs(..., return_poly = TRUE)`.
Optional long name for the plot title.
Optional units label.
Logical; add a simple land underlay where available.
Colour scale specification. Defaults to `"viridis"` for scalar maps.
Numeric colour limits. If left as `NA`, limits are inferred from the data.
Either `"polygon"` or `"smooth"`.
Resolution used for `"smooth"` display maps.
Optional bounds in the form `c(longitude_min, longitude_max, latitude_min, latitude_max)`.
Logical; add town labels where available.
Deprecated legacy argument retained for backward compatibility.
Optional existing plot object to add to.
Logical; if `TRUE`, suppresses automatic printing.
Logical; add GBR polygon overlay when available.
A `ggplot2` object.