,
      <span class="st">"background: gray; "</span>,
      <span class="st">"padding: 3px; "</span>,
      <span class="st">"color: white; "</span>
    <span class="op">)</span>
  <span class="op">)</span>
<span class="op">)</span><span class="op">$</span><span class="va">html</span></code></pre></div>
<p>If the cursor is not over a stratum, the next logic checks whether it is over an alluvium. This is done using the function <code><a href="https://rdrr.io/pkg/sp/man/point.in.polygon.html">sp::point.in.pol