-label="anchor" href="#ref-usage"></a></h2>
    <div class="sourceCode"><pre class="sourceCode r"><code><span><span class="fu">add_layers_control</span><span class="op">(</span></span>
<span>  <span class="va">map</span>,</span>
<span>  position <span class="op">=</span> <span class="st">"top-left"</span>,</span>
<span>  layers <span class="op">=</span> <span class="cn">NULL</span>,</span>
<span>  collapsible <span class="op">=</span> <span class="cn">TRUE</span>,</span>
<span>  use_icon <span class="op">=<