local globe = asset.require("../../earth")



local Layer = {
  Identifier = "TextureSpout",
  Enabled = asset.enabled,
  SpoutName = "SPOUT_TERRA_RECEIVER",
  Type = "SpoutImageTileLayer"
}


asset.onInitialize(function()
  openspace.globebrowsing.addLayer(globe.Earth.Identifier, "ColorLayers", Layer)
end)


asset.onDeinitialize(function()
  openspace.globebrowsing.deleteLayer(globe.Earth.Identifier, "ColorLayers", Layer)
end)

asset.export("layer", Layer)
