Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Excerpt

Gets the active sphere, passes it to the optional callback function (if provided), and returns it.

Parameter:

  • callback (function): (OPTIONAL) A callback function to execute. It will be passed an object with the following attributes automatically:

    • id (number): The id of the sphere

    • lat (number): The latitude of the sphere

    • lng (number): The longitude of the sphere

    • dateTimeAcquired (string | null): A string representing the date that the sphere imagery was captured

...