ee.Geometry.Point.evaluate
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
הפונקציה מאחזרת באופן אסינכרוני את הערך של האובייקט הזה מהשרת ומעבירה אותו לפונקציית הקריאה החוזרת שסופקה.
שימוש | החזרות |
---|
Point.evaluate(callback) | |
ארגומנט | סוג | פרטים |
---|
זה: computedobject | ComputedObject | המופע של ComputedObject. |
callback | פונקציה | פונקציה מהצורה function(success, failure), שמופעלת כשהשרת מחזיר תשובה. אם הבקשה הצליחה, הארגומנט success מכיל את התוצאה המוערכת. אם הבקשה נכשלה, הארגומנט failure יכיל הודעת שגיאה. |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-26 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-26 (שעון UTC)."],[[["\u003cp\u003e\u003ccode\u003eevaluate()\u003c/code\u003e allows asynchronous retrieval of a ComputedObject's value from the server.\u003c/p\u003e\n"],["\u003cp\u003eUpon retrieval, \u003ccode\u003eevaluate()\u003c/code\u003e executes a provided callback function, passing the result or an error message.\u003c/p\u003e\n"],["\u003cp\u003eThe callback function receives two arguments: 'success' containing the result if successful, and 'failure' containing an error message if the request failed.\u003c/p\u003e\n"]]],["The `Point.evaluate(callback)` method asynchronously fetches a ComputedObject's value from the server. It utilizes a callback function to handle the response. This callback function receives two arguments: `success` (containing the result upon success) and `failure` (containing an error message upon failure). The method is called on a `ComputedObject` instance. The function is triggered when the server has returned an answer.\n"],null,["# ee.Geometry.Point.evaluate\n\n\u003cbr /\u003e\n\nAsynchronously retrieves the value of this object from the server and passes it to the provided callback function.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|----------------------------|---------|\n| Point.evaluate`(callback)` | |\n\n| Argument | Type | Details |\n|------------------------|----------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| this: `computedobject` | ComputedObject | The ComputedObject instance. |\n| `callback` | Function | A function of the form function(success, failure), called when the server returns an answer. If the request succeeded, the success argument contains the evaluated result. If the request failed, the failure argument will contains an error message. |"]]