website/src/MapPage/map.js
/**
     * If a click is super close to a point, generates an image based on that point's object, then returns false
     * @param {int[]} ids - list of object IDs, in the same order as distances
     * @param {float[]} distances - list of distances from click to points, in same order as ids
     */
If a click is super close to a point, generates an image based on that point's object, then returns false
@param {int[]} ids - list of object IDs, in the same order as distances
@param {float[]} distances - list of distances from click to points, in same order as ids
If a click is super close to a point generates an image based on that point ' s object then returns false @param { int [] } ids - list of object IDs in the same order as distances @param { float [] } distances - list of distances from click to points in same order as ids
function checkIfNotSuperClose(ids, distances){
        let isNotSuperClose = true;
        for (let i = 0; i < distances.length; i++){
            if (distances[i] < CLOSE_DIST){
                isNotSuperClose = false;
                firstTimeGenImage(ids[i]);
            }
        }
        return isNotSuperClose;
    }
function checkIfNotSuperClose ( ids , distances ) { let isNotSuperClose = true ; for ( let i = 0 ; i < distances . length ; i ++ ) { if ( distances [ i ] < CLOSE_DIST ) { isNotSuperClose = false ; firstTimeGenImage ( ids [ i ] ) ; } } return isNotSuperClose ; }
If a click is super close to a point, generates an image based on that point's object, then returns false
 @param {int[]} ids - list of object IDs, in the same order as distances
 @param {float[]} distances - list of distances from click to points, in same order as ids
If a click is super close to a point generates an image based on that point ' s object then returns false @param { int [] } ids - list of object IDs in the same order as distances @param { float [] } distances - list of distances from click to points in same order as ids