公告:凡是在
2025 年 4 月 15 日前註冊使用 Earth Engine 的非商業專案,都必須
驗證非商業用途資格,才能繼續存取 Earth Engine。
ee.ImageCollection.draw
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
繪製用於視覺化的向量集合。不適合做為其他演算法的輸入內容。
用量 | 傳回 |
---|
ImageCollection.draw(color, pointRadius, strokeWidth) | 圖片 |
引數 | 類型 | 詳細資料 |
---|
這個:collection | FeatureCollection | 要繪製的集合。 |
color | 字串 | 格式為 RRGGBB 的十六進位字串,用於指定繪製地圖項目的顏色。 |
pointRadius | 整數,預設值為 3 | 點標記的半徑 (以像素為單位)。 |
strokeWidth | 整數,預設值為 2 | 線條和多邊形邊框的寬度 (以像素為單位)。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-26 (世界標準時間)。
[null,null,["上次更新時間:2025-07-26 (世界標準時間)。"],[[["\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. |"]]