ee.Feature.getInfo
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
פונקציה אימפרטיבית שמחזירה מידע על התכונה הזו באמצעות קריאת AJAX.
מחזירה תיאור של התכונה.
שימוש | החזרות |
---|
Feature.getInfo(callback) | GeoJSONFeature |
ארגומנט | סוג | פרטים |
---|
זה: feature | תכונה | מופע התכונה. |
callback | פונקציה, אופציונלי | קריאה חוזרת אופציונלית. אם לא מספקים את הערך הזה, השיחה מתבצעת באופן סינכרוני. אם מספקים את הפרמטר הזה, הפונקציה תקרא לפרמטר הראשון אם הפעולה תצליח ולפרמטר השני אם הפעולה תיכשל. |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון 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\u003eFeature.getInfo\u003c/code\u003e function retrieves descriptive information about a specific feature using an AJAX call.\u003c/p\u003e\n"],["\u003cp\u003eIt provides details about the feature in GeoJSONFeature format and can be used synchronously or asynchronously with a callback function.\u003c/p\u003e\n"],["\u003cp\u003eThe function is called on a Feature instance and accepts an optional callback function for handling the response.\u003c/p\u003e\n"]]],[],null,["# ee.Feature.getInfo\n\n\u003cbr /\u003e\n\nAn imperative function that returns information about this feature via an AJAX call.\n\n\u003cbr /\u003e\n\nReturns a description of the feature.\n\n| Usage | Returns |\n|---------------------------------|----------------|\n| Feature.getInfo`(`*callback*`)` | GeoJSONFeature |\n\n| Argument | Type | Details |\n|-----------------|--------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| this: `feature` | Feature | The Feature instance. |\n| `callback` | Function, optional | An optional callback. If not supplied, the call is made synchronously. If supplied, will be called with the first parameter if successful and the second if unsuccessful. |"]]