// higher latitudes using the Image.pixelArea() function.// Create an image in which the value of each pixel is its area.var img = ee.Image.pixelArea();
Map.setCenter(0,0,3);
官网示例// higher latitudes using the Image.pixelArea() function.// Create an image in which the value of each pixel is its area.var img = ee.Image.pixelArea();Map.setCenter(0, 0, 3);Map.addLayer(img, {min: 2e8, max: 4e8, opacity: 0.85}, 'pixel area');`