Stay organized with collections
Save and categorize content based on your preferences.
Retrieves the value of this object from the server.
If no callback function is provided, the request is made synchronously. If a callback is provided, the request is made asynchronously.
The asynchronous mode is preferred because the synchronous mode stops all other code (for example, the EE Code Editor UI) while waiting for the server. To make an asynchronous request, evaluate() is preferred over getInfo().
Returns the computed value of this object.
Usage
Returns
MultiLineString.getInfo(callback)
Object
Argument
Type
Details
this: computedobject
ComputedObject
The ComputedObject instance.
callback
Function, optional
An optional callback. If not supplied, the call is made synchronously.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-10-06 UTC."],[[["`MultiLineString.getInfo()` retrieves the value of a MultiLineString object from the Earth Engine server and returns it as a GeoJSON object."],["The method can be used synchronously or asynchronously; the asynchronous approach is recommended to avoid blocking the UI."],["`evaluate()` is the preferred method for asynchronous requests compared to `getInfo()`."],["Examples are provided in JavaScript and Python for both synchronous and asynchronous requests on a MultiLineString."]]],["The `getInfo()` method retrieves an object's value from the server. It can operate synchronously or asynchronously, depending on whether a callback function is provided. Asynchronous requests, using `evaluate()`, are preferred to prevent blocking the user interface. The method returns the computed value of the object. For example, when applied to a `MultiLineString` object, `getInfo()` returns the geometry's information, which can then be printed or displayed on a map.\n"]]