local globeIdentifier = asset.require("scene/solarsystem//planets/earth/moon/moon").Moon.Identifier

local layer = {
  Identifier = "20200415_lacusmortis_orthomos_filled_8bit_lzw",
  Name = [[LRO NAC Mosaic, Lacus Mortis, Extended Version]],
  FilePath = asset.localResource("20200415_lacusmortis_orthomos_filled_8bit_lzw.vrt"),
  Description = [[This is an orthoimage mosaic produced by combining LROC NAC images, for the southwestern area of Lacus Mortis, including Rimae Bürg and the Lacus Mortis Pit. The images are projected onto a DEM mosaic produced by stereo reconstructions in which each of the images is paired with another LROC NAC.]]
}
  
asset.onInitialize(function()
  openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
end)
  
asset.onDeinitialize(function()
  openspace.globebrowsing.deleteLayer(globeIdentifier, "ColorLayers", layer.Identifier)
end)
  
asset.export("layer", layer)


asset.meta = {
  Name = [[LRO NAC Mosaic, Lacus Mortis, Extended Version]],
  Version = "1.0",
  Author = "NASA/Treks",
  URL = "https://trek.nasa.gov/moon/#v=0.1&x=0&y=0&z=1&p=urn:ogc:def:crs:EPSG::104903&d=&l=20200415_lacusmortis_orthomos_filled_8bit_lzw%2Ctrue%2C1&b=moon&e=-180.0%2C-90.0%2C180.0%2C90.0&sfv=&w=",
  License = "NASA/Treks",
  Description = [[LRO NAC Mosaic, Lacus Mortis, Extended Version layer from NASA/Treks for Moon]]
}
