ui.Map.Layer.setVisParams
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
پارامترهای تجسم لایه را تنظیم می کند.
این لایه نقشه را برمی گرداند.
استفاده | برمی گرداند | Layer. setVisParams ( visParams ) | ui.Map.Layer |
استدلال | تایپ کنید | جزئیات | این: ui.map.layer | ui.Map.Layer | نمونه ui.Map.Layer. |
visParams | FeatureVisualizationParameters|ImageVisualizationParameters، اختیاری | پارامترهای تجسم به اسناد ee.data.getMapId() مراجعه کنید. |
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003eDefines how the layer is displayed on the map, controlling its visual appearance.\u003c/p\u003e\n"],["\u003cp\u003eAccepts visualization parameters that dictate the layer's styling and presentation, similar to those used in \u003ccode\u003eee.data.getMapId()\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eModifies the existing layer directly and returns the updated \u003ccode\u003eui.Map.Layer\u003c/code\u003e object for chaining operations.\u003c/p\u003e\n"]]],["The `setVisParams` method configures a map layer's visualization. It accepts `visParams` which can be either `FeatureVisualizationParameters` or `ImageVisualizationParameters` as defined in `ee.data.getMapId()`. The method modifies the `ui.Map.Layer` instance, which is the target of this operation, and returns the same `ui.Map.Layer` instance. This function is used to update how the layer is displayed.\n"],null,["# ui.Map.Layer.setVisParams\n\n\u003cbr /\u003e\n\nSets the layer's visualization parameters.\n\n\u003cbr /\u003e\n\nReturns this map layer.\n\n| Usage | Returns |\n|-------------------------------------|--------------|\n| Layer.setVisParams`(`*visParams*`)` | ui.Map.Layer |\n\n| Argument | Type | Details |\n|----------------------|------------------------------------------------------------------------|------------------------------------------------------------|\n| this: `ui.map.layer` | ui.Map.Layer | The ui.Map.Layer instance. |\n| `visParams` | FeatureVisualizationParameters\\|ImageVisualizationParameters, optional | The visualization parameters. See ee.data.getMapId() docs. |"]]