/ggplot2.tidyverse.org/" class="external-link">ggplot2</a> (with the
<code><a href="https://paleolimbot.github.io/ggspatial/reference/layer_spatial.html" class="external-link">ggspatial::layer_spatial()</a></code> function. It returns a raster
layer that corresponds either to an input bounding box or a buffered area
around an input shape.</p>
    </div>

    <div class="section level2">
    <h2 id="ref-usage">Usage<a class="anchor" aria-label="anchor" href="#ref-usage"></a></h2>
    <div class="sourceCode">