ee.Feature.getInfo
An imperative function that returns information about this feature via an AJAX call.
Returns a description of the feature.
Usage | Returns |
---|
Feature.getInfo(callback) | GeoJSONFeature |
Argument | Type | Details |
---|
this: feature | Feature | The Feature instance. |
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. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-10-06 UTC.
[null,null,["Last updated 2023-10-06 UTC."],[[["The `Feature.getInfo` function retrieves descriptive information about a specific feature using an AJAX call."],["It provides details about the feature in GeoJSONFeature format and can be used synchronously or asynchronously with a callback function."],["The function is called on a Feature instance and accepts an optional callback function for handling the response."]]],[]]