ee.Feature.getInfo

An imperative function that returns information about this feature via an AJAX call.

Returns a description of the feature.

UsageReturns
Feature.getInfo(callback)GeoJSONFeature
ArgumentTypeDetails
this: featureFeatureThe Feature instance.
callbackFunction, optionalAn 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.