ee.Feature.getInfo
Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Eine imperative Funktion, die Informationen zu dieser Funktion über einen AJAX-Aufruf zurückgibt.
Gibt eine Beschreibung des Features zurück.
Nutzung | Ausgabe |
---|
Feature.getInfo(callback) | GeoJSONFeature |
Argument | Typ | Details |
---|
So gehts: feature | Funktion | Die Funktionsinstanz. |
callback | Funktion (optional) | Ein optionaler Callback. Wenn nicht angegeben, erfolgt der Aufruf synchron. Wird bei Erfolg mit dem ersten Parameter und bei Misserfolg mit dem zweiten Parameter aufgerufen. |
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\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. |"]]