e ? '&mapbox-style='+mapbox_style : '')
                + (source != "osm" ? '&source='+source : '')
                + (running ? '&running' : '')
                + (imperial ? '&imperial' : '')
                + (distance ? '&distance' : '')
                + (direction ? '&direction' : '')
                + (slope ? '&slope' : '');

            const code = document.getElementById("embedding-code");
            code.innerHTML = '&lt;iframe src="https://gpx.studio'
                + window.location.pathnam