Use offhabr lyr_key to pull range from database and render map with oh_map_cog()

oh_map_cog_lyr(
  lyr_key,
  lyr_title = "% Habitat",
  con = con,
  show_zones = T,
  ...
)

Arguments

lyr_key

layer key (in form of {dataset_key}_{aphia_id})

lyr_title

layer title

con

database connection

...

parameters passed onto oh_map_cog()

Value

leaflet::leaflet() object