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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.