local gaia = asset.require("./gaia")
local earth = asset.require("scene/solarsystem/planets/earth/earth")



local distance = {
  Type = "DashboardItemDistance",
  Identifier = "GaiaEarthDistance",
  GuiName = "Gaia Earth Distance",
  SourceType = "Node",
  SourceNodeName = gaia.Gaia.Identifier,
  DestinationType = "Node Surface",
  DestinationNodeName = earth.Earth.Identifier
}


asset.onInitialize(function()
  openspace.dashboard.addDashboardItem(distance)
end)

asset.onDeinitialize(function()
  openspace.dashboard.removeDashboardItem(distance)
end)
