ui.Map.Layer.getVisParams
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
מחזירה את פרמטרי התצוגה החזותית של השכבה.
שימוש | החזרות |
---|
Layer.getVisParams() | FeatureVisualizationParameters|ImageVisualizationParameters |
ארגומנט | סוג | פרטים |
---|
זה: ui.map.layer | ui.Map.Layer | מופע ui.Map.Layer. |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-26 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-26 (שעון 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. |"]]