const dataSourcesAlias = new Map([ ["code", "Code"], ["name", "Name"], ["length", "Beach Length (m)"], ["urbanization_degree", "Urbanization Degree"], // OS stations // Cruise stations ["sea_area", "Sea Area"], ["station_type", "Platform"], ["wmo_id", "WMO id"] ]); // Aliases for getfeature info const aliasMap = new Map([ ["localid", "CODE"], ["nametxtint", "NAME"], ["mr_ms_aa", "MR/MS/AA NAME"], ["spzonetype", "TYPE"], ["shape_leng", "PERIMETER"], ["shape_area", "AREA (m^2)"], ["sitecode", "Site Code"], ["sitename", "Site Name"], ["msfd_crite", "MSFD criteria"], ["subregion", "District"], ["methodology", "Methodology/Data Sources"], ["year", "Year"], ["cellcode", "Cell Code"], ["objectid", "ID"], ["biozone", "Biozone"], ["Probability", "Probability"], ['aa', 'Station Code Number'], ['wd_code', 'Water District Code'], ['stationnam', 'Station Name'], ['stationcod', 'Station Code'], ['longitude', 'Longitude'], ['latitude', 'Latitude'], ['stationtyp', 'Station Type'], ['wbcode', 'Water Body Code'], ['ctStationName', 'Station Name'], ['ctStationCode', 'Station Code'], ['ctStationGroupedCwbsName.groupedCwbsNameEn', 'Grouped Coastal Water Name'], ['ctStationBasinName.basinNameEn', 'Basin Name'], ['wmo', 'WMO ID'], ['pi_name', 'Primary Investigator'], ['type', 'Type'], ['code', 'Code'], ['urbanization_degree', 'Urbanization Degree'], ['beach_length', 'Beach Length'], ['csr_code', 'CSR'], ['start_date', 'From'], ['end_date', 'To'], ['ctStationDecimalLatitude', 'Decimal Latitude'], ['ctStationDecimalLongitude', 'Decimal Longitude'], ['ctsDepthM', 'Station Depth'] ]); const hiddenRows = [ 'id', 'notes' ]; const EDITABLE = false;