---
title: "PolygonLayer"
output: rmarkdown::html_vignette
vignette: >
  %\VignetteIndexEntry{PolygonLayer}
  %\VignetteEngine{knitr::rmarkdown}
  %\VignetteEncoding{UTF-8}
---

```{r echo = FALSE}
example <- paste0(
  rprojroot::find_package_root_file(),
  "/inst/examples/deckgl-api-reference/polygon-layer.R"
)
do.call(knitr::read_chunk, list(path = example))
```

The `PolygonLayer` renders filled and/or stroked polygons.

```{r polygon-layer, eval = FALSE}
```

See also [deckgl-api-reference-polygon-layer](https://deck.gl/#/documentation/deckgl-api-reference/layers/polygon-layer)
