Skip to contents

Label arguments for add_pmlabel(), from zone_style()

Usage

zone_label_args(zone_type)

Arguments

zone_type

character(1): programarea, planarea (v1's analogue of the Program Areas), ecoregion, subregion, or anything else (which gets the muted context style)

Value

named list (text_color, text_size, text_halo_color, text_halo_width) to c() into a label spec, or NULL when the unit is drawn without labels – callers skip the label layer entirely then