ations = locations.map(e => { return { lat: parseFloat(e.lat), lng: parseFloat(e.long) } });
        const flightPath = new google.maps.Polyline({
            path: locations,
            geodesic: true,
            strokeColor: "#FF0000",
            strokeOpacity: 1.0,
            strokeWeight: 2,
        });
        flightPath.setMap(window.map);
    }
    function drawWaypoints(waypoints) {
        for (i = 0; i < waypoints.length; i++) {
            marker = new google.maps.Marker({
                pos