Return Values

Many TerraExplorer methods that involve an asynchronous operation return a promise. The Promise object represents the eventual completion (or failure) of the operation, and its resulting value. See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Using_promises for more information.