ype: 'line',
                source: 'selectedsource',
                minzoom: 3,
                layout: {
                    'line-join': 'round',
                    'line-cap': 'round'
                },
                paint: {
                    'line-color': 'rgb(0,130,255)',
                    'line-width': 4
                }
            });

            map.on('moveend', function() {
                if (map.getZoom() < 8) {
                    deselectTrack();
                }

              