jsonify | safeJS -}},
   {{- end -}}
]

    var labsLayer = L.featureGroup().addTo(map);

    labs.forEach(function (lab) {
        const a = document.createElement('a');
        a.innerText = lab.city;
        a.href = lab.link;
        const Icon = label(lab)
        var marker = L.marker(lab.coords, {
            icon: new Icon({
                labelText: a.innerHTML
            }),
            url: lab.link,
        })
            .on('click', function() { window.location.href = lab.link; })
          