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



local Layer = {
  Identifier = "Messenger_Mosaic_Utah",
  Name = "Messenger Mosaic [Utah]",
  Enabled = asset.enabled,
  FilePath = asset.localResource("messenger_mosaic_utah.wms")
}


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

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

asset.export("layer", Layer)



asset.meta = {
  Name = "Messenger Mosaic [Utah]",
  Version = "1.0",
  Description = [[Mercury Messenger Mosaic layer for Mercury globe. This map is hosted on
    the OpenSpace server in Utah]],
  Author = "USGS",
  URL = "",
  License = "NASA/PDS"
}
