example <- paste0(
  rprojroot::find_package_root_file(),
  "/inst/examples/deckgl-api-reference/contour-layer.R"
)
do.call(knitr::read_chunk, list(path = example))

The ContourLayer renders contour lines for a given threshold and cell size. Internally it implements Marching Squares algorithm to generate contour line segments and feeds them into LineLayer to render lines.


See also deckgl-api-reference-contour-layer



crazycapivara/deckgl documentation built on March 29, 2023, 4:10 a.m.