Skip to contents

Map component that adds a title

Usage

tm_title(
  text,
  size,
  color,
  padding,
  fontface,
  fontfamily,
  stack,
  just,
  frame,
  frame.lwd,
  frame.r,
  bg.color,
  bg.alpha,
  position,
  width,
  height,
  group.frame,
  resize.as.group,
  z
)

tm_title_in(text, ..., position = tm_pos_in("left", "top"))

tm_title_out(text, ..., position = tm_pos_out("center", "top"))

Arguments

text

text of the title

size

font size of the title

color

color

padding

padding

fontface

font face

fontfamily

font family

stack

stack

just

just

frame

frame

frame.lwd

frame.lwd

frame.r

frame.r

bg.color

bg.color

bg.alpha

bg.alpha

position

position

width

width

height

height

group.frame

group.frame

resize.as.group

resize.as.group

z

z

...

passed on to tm_title