local globeIdentifier = asset.require("scene/solarsystem//planets/mars/mars").Mars.Identifier

local layer = {
  Identifier = "olympus_monseq",
  Name = [[MRO CTX, Mosaic Olympus Mons]],
  FilePath = asset.localResource("olympus_mons.eq.vrt"),
  Description = [[This is a beta section of a CTX global mosaic produced by Jay Dickson. It was created by map projecting CT
X images with ISIS3, and color balancing/stitching the images with Adobe Photoshop. A footprint layer shows the seams
 of image boundaries.    
reference:
Dickson et al. 2018 LPSC programs with abstracts https://www.hou.usra.edu/meetings/lpsc2018/pdf/2480.pdf]]
}
  
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 = [[MRO CTX, Mosaic Olympus Mons]],
  Version = "1.0",
  Author = "NASA/Treks",
  URL = "https://trek.nasa.gov/mars/#v=0.1&x=0&y=0&z=1&p=urn:ogc:def:crs:EPSG::104905&d=&l=olympus_mons.eq%2Ctrue%2C1&b=mars&e=-180.0%2C-90.0%2C180.0%2C90.0&sfv=&w=",
  License = "NASA/Treks",
  Description = [[MRO CTX, Mosaic Olympus Mons layer from NASA/Treks for Mars]]
}
