ize]
            ];

            var features = map.queryRenderedFeatures(boundingBox, {
                layers: ['tracks-layer']
            });

            if (features.length < 1)
                return;

            var closestFeature = findClosestLineString(turf.point([e.lngLat.lng, e.lngLat.lat]), features);

            if (closestFeature.properties.name !== undefined) {
                document.getElementById("act_card").style.display = "block";
                document.getElementById("act_title").