ee.Image.paint

Stay organized with collections Save and categorize content based on your preferences.
Paints the geometries of a collection onto an image.

UsageReturns
Image.paint(featureCollection, color, width)Image
ArgumentTypeDetails
this: imageImageThe image on which the collection is painted.
featureCollectionFeatureCollectionThe collection painted onto the image.
colorObject, default: 0Either the name of a color property or a number.
widthObject, default: nullEither the name of a line-width property or a number.