<commit_before>---
layout: example.html
title: Layer Groups
shortdesc: Example of a map with layer group.
docs: >
  Example of a map with layer group.
tags: "tilejson, input, bind, group, layergroup"
resources:
  - https://code.jquery.com/jquery-3.5.1.min.js
cloak:
  - key: <KEY>
    value: Your Mapbox access token from https://mapbox.com/ here
---
<div id="map" class="map"></div>
<div id="layertree">
  <h5>Click on layer nodes below to change their properties.</h5>
  <ul>
    <li><span>OSM layer</span>
      <fieldset id="layer0">
        <label class="checkbox" for="visible0">
          visibile <input id="visible0" class="visible" type="checkbox"/>
        </label>
        <label>
          opacity <input class="opacity" type="range" min="0" max="1" step="0.01"/>
        </label>
      </fieldset>
    </li>
    <li>
      <span>Layer group</span>
      <fieldset id="layer1">
        <label class="checkbox" for="visible1">
          visibile <input id="visible1" class="visible" type="checkbox"/>
        </label>
        <label>
          opacity <input class="opacity" type="range" min="0" max="1" step="0.01"/>
        </label>
      </fieldset>
      <ul>
        <li>
          <span>Food insecurity layer</span>
          <fieldset id="layer10">
            <label class="checkbox" for="visible10">
              visibile <input id="visible10" class="visible" type="checkbox"/>
            </label>
            <label>
              opacity <input class="opacity" type="range" min="0" max="1" step="0.01"/>
            </label>
          </fieldset>
        </li>
        <li>
          <span>World borders layer</span>
          <fieldset id="layer11">
            <label class="checkbox" for="visible11">
              visibile <input id="visible11" class="visible" type="checkbox"/>
            </label>
            <label>
              opacity <input class="opacity" type="range" min="0" max="1" step="0.01"/>
            </label>
          </fieldset>
        </li>
      </ul>
    </li>
  </ul>
</div><commit_msg>typo<commit_after>---
layout: example.html
title: Layer Groups
shortdesc: Example of a map with layer group.
docs: >
  Example of a map with layer group.
tags: "tilejson, input, bind, group, layergroup"
resources:
  - https://code.jquery.com/jquery-3.5.1.min.js
cloak:
  - key: <KEY>
    value: Your Mapbox access token from https://mapbox.com/ here
---
<div id="map" class="map"></div>
<div id="layertree">
  <h5>Click on layer nodes below to change their properties.</h5>
  <ul>
    <li><span>OSM layer</span>
      <fieldset id="layer0">
        <label class="checkbox" for="visible0">
          visible <input id="visible0" class="visible" type="checkbox"/>
        </label>
        <label>
          opacity <input class="opacity" type="range" min="0" max="1" step="0.01"/>
        </label>
      </fieldset>
    </li>
    <li>
      <span>Layer group</span>
      <fieldset id="layer1">
        <label class="checkbox" for="visible1">
          visible <input id="visible1" class="visible" type="checkbox"/>
        </label>
        <label>
          opacity <input class="opacity" type="range" min="0" max="1" step="0.01"/>
        </label>
      </fieldset>
      <ul>
        <li>
          <span>Food insecurity layer</span>
          <fieldset id="layer10">
            <label class="checkbox" for="visible10">
              visible <input id="visible10" class="visible" type="checkbox"/>
            </label>
            <label>
              opacity <input class="opacity" type="range" min="0" max="1" step="0.01"/>
            </label>
          </fieldset>
        </li>
        <li>
          <span>World borders layer</span>
          <fieldset id="layer11">
            <label class="checkbox" for="visible11">
              visible <input id="visible11" class="visible" type="checkbox"/>
            </label>
            <label>
              opacity <input class="opacity" type="range" min="0" max="1" step="0.01"/>
            </label>
          </fieldset>
        </li>
      </ul>
    </li>
  </ul>
</div>
{'fraction_non_alphanumeric': 0.16850896585605502, 'fraction_numerical': 0.02112503070498649, 'mean_word_length': 2.134719014626636, 'pattern_counts': {'":': 0, '<': 121, '<?xml version=': 0, '>': 123, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5970029', 'n_tokens_mistral': 1275, 'n_tokens_neox': 1244, 'n_words': 321}