Interactive hex map of PlasmoMAPI output.

plot_leaflet(
  proj,
  fill_opacity = 0.8,
  legend_opacity = 1,
  map_type = 110,
  col_scale = viridisLite::magma(100)
)

Arguments

proj

object of class pm_project.

fill_opacity

opacity of fill; 0 = fully transparent, 1 = fully opaque.

legend_opacity

opacity of legend; 0 = fully transparent, 1 = fully opaque.

map_type

an index from 1 to 137 indicating the type of base map. The map types are taken from leaflet::providers, see here for an interactive gallary.

col_scale

the colour scale to use.