Объявление : Все некоммерческие проекты, зарегистрированные для использования Earth Engine до
15 апреля 2025 года, должны
подтвердить некоммерческое право на сохранение доступа к Earth Engine.
ui.Map.Layer.getVisParams
Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
Возвращает параметры визуализации слоя.
Использование | Возврат | Layer. getVisParams () | ПараметрыВизуализацииФункций|ПараметрыВизуализацииИзображения |
Аргумент | Тип | Подробности | это: ui.map.layer | ui.Map.Layer | Экземпляр ui.Map.Layer. |
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-07-24 UTC.
[null,null,["Последнее обновление: 2025-07-24 UTC."],[[["\u003cp\u003eThis function returns the visualization parameters of a specified map layer.\u003c/p\u003e\n"],["\u003cp\u003eThe returned parameters will either be FeatureVisualizationParameters or ImageVisualizationParameters, depending on the layer type.\u003c/p\u003e\n"],["\u003cp\u003eIt is called on a ui.Map.Layer object using the \u003ccode\u003egetVisParams()\u003c/code\u003e method.\u003c/p\u003e\n"]]],["The `Layer.getVisParams()` method retrieves the visualization parameters of a layer. It returns either `FeatureVisualizationParameters` or `ImageVisualizationParameters`, depending on the layer type. The method is called on a `ui.Map.Layer` instance, which represents a layer on a map. It requires no arguments other than the layer object. The `ui.Map.Layer` object is passed using `this`.\n"],null,["# ui.Map.Layer.getVisParams\n\n\u003cbr /\u003e\n\nReturns the layer's visualization parameters.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|------------------------|--------------------------------------------------------------|\n| Layer.getVisParams`()` | FeatureVisualizationParameters\\|ImageVisualizationParameters |\n\n| Argument | Type | Details |\n|----------------------|--------------|----------------------------|\n| this: `ui.map.layer` | ui.Map.Layer | The ui.Map.Layer instance. |"]]