Announcement: All noncommercial projects registered to use Earth Engine before
April 15, 2025 must
verify noncommercial eligibility to maintain Earth Engine access.
ee.ImageCollection.draw
Stay organized with collections
Save and categorize content based on your preferences.
Paints a vector collection for visualization. Not intended for use as input to other algorithms.
Usage | Returns | ImageCollection.draw(color, pointRadius, strokeWidth) | Image |
Argument | Type | Details | this: collection | FeatureCollection | The collection to draw. |
color | String | A hex string in the format RRGGBB specifying the color to use for drawing the features. |
pointRadius | Integer, default: 3 | The radius in pixels of the point markers. |
strokeWidth | Integer, default: 2 | The width in pixels of lines and polygon borders. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-10-06 UTC.
[null,null,["Last updated 2023-10-06 UTC."],[[["\u003cp\u003e\u003ccode\u003eImageCollection.draw()\u003c/code\u003e visualizes FeatureCollections as vector data, outputting an Image.\u003c/p\u003e\n"],["\u003cp\u003eIt accepts a color (hex string: RRGGBB), point radius (default 3 pixels), and stroke width (default 2 pixels) for customization.\u003c/p\u003e\n"],["\u003cp\u003ePrimarily for display, not designed for algorithmic input.\u003c/p\u003e\n"]]],[],null,["# ee.ImageCollection.draw\n\nPaints a vector collection for visualization. Not intended for use as input to other algorithms.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|------------------------------------------------------------------|---------|\n| ImageCollection.draw`(color, `*pointRadius* `, `*strokeWidth*`)` | Image |\n\n| Argument | Type | Details |\n|--------------------|---------------------|-----------------------------------------------------------------------------------------|\n| this: `collection` | FeatureCollection | The collection to draw. |\n| `color` | String | A hex string in the format RRGGBB specifying the color to use for drawing the features. |\n| `pointRadius` | Integer, default: 3 | The radius in pixels of the point markers. |\n| `strokeWidth` | Integer, default: 2 | The width in pixels of lines and polygon borders. |"]]