ui.Map.CloudStorageLayer.setName
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
نام لایه را تنظیم می کند.
این لایه نقشه را برمی گرداند.
استفاده | برمی گرداند | CloudStorageLayer. setName ( name ) | ui.Map.AbstractLayer |
استدلال | تایپ کنید | جزئیات | این: ui.map.abstractlayer | ui.Map.AbstractLayer | نمونه ui.Map.AbstractLayer. |
name | رشته، اختیاری | نام لایه. |
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003eThe \u003ccode\u003esetName\u003c/code\u003e method allows you to assign a name to a Cloud Storage layer within the Earth Engine user interface.\u003c/p\u003e\n"],["\u003cp\u003eThis method is called on a \u003ccode\u003eui.Map.AbstractLayer\u003c/code\u003e object, specifically a CloudStorageLayer, and returns the modified layer instance for further operations or display.\u003c/p\u003e\n"],["\u003cp\u003eYou can optionally provide a string argument representing the desired name for the layer.\u003c/p\u003e\n"]]],["The `setName()` method of a `ui.Map.AbstractLayer` instance allows you to assign a name to the layer. It accepts a string argument, `name`, which is the desired layer name and is optional. Calling `setName()` updates the layer's name and returns the `ui.Map.AbstractLayer` instance it is applied to. This method is used to manage and identify specific map layers.\n"],null,["# ui.Map.CloudStorageLayer.setName\n\n\u003cbr /\u003e\n\nSets the name of the layer.\n\n\u003cbr /\u003e\n\nReturns this map layer.\n\n| Usage | Returns |\n|---------------------------------------|----------------------|\n| CloudStorageLayer.setName`(`*name*`)` | ui.Map.AbstractLayer |\n\n| Argument | Type | Details |\n|------------------------------|----------------------|------------------------------------|\n| this: `ui.map.abstractlayer` | ui.Map.AbstractLayer | The ui.Map.AbstractLayer instance. |\n| `name` | String, optional | The name of the layer. |"]]