ee.Geometry.Point.evaluate
Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Ruft den Wert dieses Objekts asynchron vom Server ab und übergibt ihn an die bereitgestellte Callback-Funktion.
Nutzung | Ausgabe |
---|
Point.evaluate(callback) | |
Argument | Typ | Details |
---|
So gehts: computedobject | ComputedObject | Die ComputedObject-Instanz. |
callback | Funktion | Eine Funktion der Form function(success, failure), die aufgerufen wird, wenn der Server eine Antwort zurückgibt. Wenn die Anfrage erfolgreich war, enthält das Argument „success“ das ausgewertete Ergebnis. Wenn die Anfrage fehlgeschlagen ist, enthält das Argument „failure“ eine Fehlermeldung. |
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2025-07-26 (UTC).
[null,null,["Zuletzt aktualisiert: 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. |"]]