ng' : '')
                + (imperial ? '&imperial' : '')
                + (distance ? '&distance' : '')
                + (direction ? '&direction' : '')
                + (slope ? '&slope' : '');

            const code = document.getElementById("embedding-code");
            code.innerHTML = '&lt;iframe src="https://gpx.studio'
                + window.location.pathname.replace('about.html','')
                + query
                + '&embed'
                + (mapbox_token ? '&token='+mapbox_token : 