ee.Feature.getArray
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
חילוץ מאפיין מתכונה.
שימוש | החזרות |
---|
Feature.getArray(property) | מערך |
ארגומנט | סוג | פרטים |
---|
זה: object | רכיב | התכונה שממנה יש לחלץ את הנכס. |
property | מחרוזת | הנכס לחילוץ. |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-26 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-26 (שעון UTC)."],[[["\u003cp\u003eThe \u003ccode\u003egetArray\u003c/code\u003e method extracts a specified property from a given feature and returns it as an array.\u003c/p\u003e\n"],["\u003cp\u003eThis method is called on a feature object and takes the property name as an argument.\u003c/p\u003e\n"],["\u003cp\u003eIt is specifically designed to retrieve array values from feature properties.\u003c/p\u003e\n"]]],["The core functionality is extracting a specified property from a feature object. The `Feature.getArray(property)` method retrieves this property's value as an array. The method requires two inputs: a feature object (referred to as `this`) and a string representing the `property` name to be extracted from that feature. The returned value from the function is an Array.\n"],null,["# ee.Feature.getArray\n\nExtract a property from a feature.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|------------------------------|---------|\n| Feature.getArray`(property)` | Array |\n\n| Argument | Type | Details |\n|----------------|---------|-------------------------------------------|\n| this: `object` | Element | The feature to extract the property from. |\n| `property` | String | The property to extract. |"]]