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

local Layer = {
  Identifier = "Messenger_DEM_Utah",
  Name = "Messenger DEM [Utah]",
  Enabled = asset.enabled,
  FilePath = asset.localResource("messenger_dem_utah.wms"),
  Settings = {
    Gamma = 1.59,
    Multiplier = 1.38
  },
  TilePixelSize = 360
}


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

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

asset.export("layer", Layer)
