ui.Map.FeatureViewLayer.setName
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
نام لایه را تنظیم می کند.
این لایه نقشه را برمی گرداند.
استفاده | برمی گرداند | FeatureViewLayer. 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\u003eSets or updates the name associated with the FeatureViewLayer.\u003c/p\u003e\n"],["\u003cp\u003eReturns the FeatureViewLayer instance for method chaining.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003esetName\u003c/code\u003e takes an optional string argument to set the layer's name.\u003c/p\u003e\n"]]],["The `FeatureViewLayer.setName()` method assigns a name to a map layer. It takes an optional string argument, `name`, which specifies the layer's name. The method operates on an instance of `ui.Map.AbstractLayer` and returns the same `ui.Map.AbstractLayer` instance after setting the name. This function allows users to label or identify specific layers within a map interface.\n"],null,["# ui.Map.FeatureViewLayer.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| FeatureViewLayer.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. |"]]