<commit_before>var map = L.map('map').setView([27.8333, -81.7170], 6);

L.tileLayer('https://api.tiles.mapbox.com/v4/{id}/{z}/{x}/{y}.png?access_token={accessToken}', {
    attribution: 'Map data &copy; <a href="http://openstreetmap.org">OpenStreetMap</a> contributors, <a href="http://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>, Imagery © <a href="http://mapbox.com">Mapbox</a>',
    maxZoom: 18,
    id: 'mapbox.streets-basic',
    accessToken: '<KEY>'
}).addTo(map);

for (var i = 0; i < fences.length; i++) {
    var circle = new L.circle([fences[i][0],fences[i][1]], fences[i][2],{
        weight: 0,
        fillColor: '#f03',
        fillOpacity: 0.2
    }).addTo(map);
}<commit_msg>feat: Rewrite map.js to includes fences as a layer<commit_after>var fenceLayer = new L.LayerGroup();

for (var i = 0; i < fences.length; i++) {
    L.circle([fences[i][0],fences[i][1]], fences[i][2],{
        weight: 0,
        fillColor: '#f03',
        fillOpacity: 0.2
    }).addTo(fenceLayer);
}

var mbAttr = 'Map data &copy; <a href="http://openstreetmap.org">OpenStreetMap</a> contributors, <a href="http://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>, Imagery © <a href="http://mapbox.com">Mapbox</a>',
    mbUrl = 'https://api.tiles.mapbox.com/v4/{id}/{z}/{x}/{y}.png?access_token=<KEY>';

var streets = L.tileLayer(mbUrl, {id: 'mapbox.streets-basic', attribution: mbAttr}),
    grayscale = L.tileLayer(mbUrl, {id: 'mapbox.light', attribution: mbAttr});

var map = L.map('map', {
    center: [27.8333, -81.7170],
    zoom: 6,
    layers: [streets, fenceLayer]
});

var baseLayers = {
    "Streets": streets,
    "Grayscale": grayscale
};

var overlays = {
    "Fences": fenceLayer
};

L.control.layers(baseLayers, overlays).addTo(map);
{'fraction_non_alphanumeric': 0.22006841505131128, 'fraction_numerical': 0.029646522234891677, 'mean_word_length': 3.834710743801653, 'pattern_counts': {'":': 3, '<': 19, '<?xml version=': 0, '>': 17, 'https://': 2, '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': '1728163', 'n_tokens_mistral': 726, 'n_tokens_neox': 689, 'n_words': 125}