代码:
var polygon = /* color: #d63000 */ee.Geometry.Polygon(
[[[116.18363255709164, 39.73608336682765],
[116.62857884615414, 39.75297820506206],
[116.60660618990414, 40.08580181855619],
[116.15067357271664, 40.077395868796174]]]);
var feature = ee.Feature(polygon, {year: 2019, count: 100});
Map.centerObject(feature, 9);
Map.addLayer(feature, {color: "red"}, "feature");