website/src/MapPage/map.js
/**
     * Converts a 2D array string into a 1D array of floats
     * @param {string} arrayString - string version of a 1x? array of floats
     * @returns {Float[]} - The 1D float array from arrayString
     */
Converts a 2D array string into a 1D array of floats
@param {string} arrayString - string version of a 1x. array of floats
@returns {Float[]} - The 1D float array from arrayString
Converts a 2D array string into a 1D array of floats @param { string } arrayString - string version of a 1x . array of floats @returns { Float [] } - The 1D float array from arrayString
function twoDArrayStringToOneDArray(arrayString) {
        let numbers = arrayString.substring(2, arrayString.length - 2); 
        let arrayNum = numbers.split(',').map(function (item) {
            return parseFloat(item);
        });
        return (arrayNum);
    }
function twoDArrayStringToOneDArray ( arrayString ) { let numbers = arrayString . substring ( 2 , arrayString . length - 2 ) ; let arrayNum = numbers . split ( ',' ) . map ( function ( item ) { return parseFloat ( item ) ; } ) ; return ( arrayNum ) ; }
Converts a 2D array string into a 1D array of floats
 @param {string} arrayString - string version of a 1x?
Converts a 2D array string into a 1D array of floats @param { string } arrayString - string version of a 1x?
//cut off the "[[]]"