I've imported two shapefiles into Google Earth engine and am trying to combine them to form a feature collection. I do this using the code;
var ROI = ee.FeatureCollection([
ee.Feature(OSPAR_II.geometry(), {'id': 'OSPAR_II'}),
ee.Feature(OSPAR_III. geometry(), {'id': 'OSPAR_III'})
]);
This seems to print fine, but when I try and add this layer to the map;
Map.addLayer(ROI, {}, 'ROI');
I get the error ROI: Layer error: Description length exceeds maximum.
What is causing this? I've done something similar before and never had this issue.
My code can be found here