Skip to contents

[Deprecated] Return a ggplot map showing parks in and around a selected area.

Usage

map_area_parks(
  area,
  type = c("parks", "vacant lots"),
  label = c("parks"),
  dist = NULL,
  diag_ratio = 0.125,
  asp = NULL
)

Arguments

area

sf object. Required.

type

layers to show on map ("parks" or "vacant lots"). Defaults to both.

label

layers to label. Only "parks" is supported. Use any other value to exclude labels.

dist

buffer distance in meters. Optional.

diag_ratio

ratio to set map extent based diagonal distance of area's bounding box. Ignored when dist is provided.

asp

Aspect ratio of width to height as a numeric value (e.g. 0.33) or character (e.g. "1:3").